From 63772a5829f7b0efae867d95d13eb3104785de2e Mon Sep 17 00:00:00 2001 From: juju4 Date: Sat, 9 Nov 2019 20:23:56 -0500 Subject: [PATCH] fix ansible syntax --- tasks/fprobe.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/fprobe.yml b/tasks/fprobe.yml index 5a116b7..6928827 100644 --- a/tasks/fprobe.yml +++ b/tasks/fprobe.yml @@ -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