Update main.yml

Fixes according to the actual syntax
pull/63/head
Rémy G. 11 years ago
parent c792e6c0c9
commit 9b1aaa5ea5
  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