fix ansible syntax

This commit is contained in:
juju4 2019-11-09 20:23:56 -05:00
parent 03967ca032
commit 63772a5829

@ -51,7 +51,7 @@
mode: '0644'
backup: yes
- include: "immutable.yml target_dir=/lib/systemd/system state=post"
when: systemdconf|failed
when: systemdconf is failed
when: ansible_service_mgr == 'systemd'
- block:
- name: add fprobe init.d script
@ -71,7 +71,7 @@
mode: '0755'
backup: yes
- include: "immutable.yml target_dir=/etc/rc.d/init.d state=post"
when: initdconf|failed
when: initdconf is failed
when: ansible_os_family == 'RedHat' and ansible_service_mgr != 'systemd'
- name: ensure service is enabled and started