@ -33,7 +33,7 @@
notify: restart ntp
- name: Start the ntp service
service: name=ntpd state=started enabled=true
service: name=ntpd state=started enabled=yes
tags: ntp
- name: insert iptables template
@ -17,7 +17,7 @@
- restart mysql
- name: Start Mysql Service
service: name=mysqld state=started enabled=true
service: name=mysqld state=started enabled=yes
- name: Create Application Database
mysql_db: name={{ dbname }} state=present
@ -10,3 +10,6 @@
- name: Configure the haproxy cnf file with hosts
template: src=haproxy.cfg.j2 dest=/etc/haproxy/haproxy.cfg
notify: restart haproxy
- name: Start the haproxy service
service: name=haproxy state=started enabled=yes
@ -11,7 +11,7 @@
- name: test to see if selinux is running
@ -19,7 +19,7 @@
- name: insert iptables rule
lineinfile: dest=/etc/sysconfig/iptables state=present regexp="{{ mysql_port }}"
@ -17,4 +17,4 @@