Merge pull request #50 from rgarrigue/patch-1

Update main.yml
pull/63/head
Tim Gerla 10 years ago
commit ee812c726e
  1. 4
      lamp_simple/roles/db/tasks/main.yml

@ -2,7 +2,7 @@
# This playbook will install mysql and create db user and give permissions.
- name: Install Mysql package
action: yum pkg={{ item }} state=installed
yum: name={{ item }} state=installed
with_items:
- mysql-server
- MySQL-python
@ -14,7 +14,7 @@
when: sestatus.rc != 0
- name: Create Mysql configuration file
action: template src=my.cnf.j2 dest=/etc/my.cnf
template: src=my.cnf.j2 dest=/etc/my.cnf
notify:
- restart mysql