mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-10 11:50:18 +01:00
Fix issue when "SELinux is disabled on this host."
If SELinux is already disabled, then skip: "Configure SELinux to start mysql on any port"
This commit is contained in:
parent
9a00ad88c2
commit
db390ec829
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
- name: Configure SELinux to start mysql on any port
|
||||
seboolean: name=mysql_connect_any state=true persistent=yes
|
||||
when: ansible_selinux.status == "enabled"
|
||||
|
||||
- name: Create Mysql configuration file
|
||||
template: src=my.cnf.j2 dest=/etc/my.cnf
|
||||
|
|
Loading…
Reference in a new issue