Created
January 19, 2014 08:38
-
-
Save shohey1226/8502048 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: servers | |
user: root | |
tasks: | |
- name: installl mysql packages | |
yum: name=mysql state=latest | |
yum: name=mysql-devel state=latest | |
yum: name=mysql-server state=latest | |
- name: configure mysql | |
command: /sbin/chkconfig mysqld on | |
command: /etc/init.d/mysqld start | |
- name: create users/database | |
script: files/mysql_start.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment