Variables needed to write ansible playbook to install Mysql and mariadb on ubuntu

0 votes
I am trying to write an ansible playbook to install MySQL and MariaDB on an ubuntu instance. What variables will I need? Can someone please help me out with it?

Thanks!
Oct 24 in Ansible by Hannah
• 16,730 points
40 views

1 answer to this question.

0 votes

You need three main variables, one to hold the user's home, another to hold user name and the third to hold the user's password.

mysql_user_home: /root
mysql_user_name: root
mysql_user_password: root
answered Oct 24 by Bob

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer
+1 vote
1 answer

Ansible-playbook to install and configure Nginx+Nodejs+Npm+PM2

Try thhis out: --- - hosts: hosts tasks: ...READ MORE

answered Sep 3 in Ansible by Kalgi
• 42,540 points
158 views
0 votes
1 answer

Unable to install Ansible on centOS

Seems like you're stuck at creating ansible ...READ MORE

answered Dec 19, 2018 in Ansible by Alan
39 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
217 views
0 votes
1 answer
0 votes
1 answer