Parcourir la source

Switch from ignoring to passing on checks

Russell Teague il y a 8 ans
Parent
commit
9cc4d2f713
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      playbooks/common/openshift-cluster/upgrades/init.yml

+ 1 - 1
playbooks/common/openshift-cluster/upgrades/init.yml

@@ -70,8 +70,8 @@
   tasks:
   tasks:
   - name: Check if iptables is running
   - name: Check if iptables is running
     command: systemctl status iptables
     command: systemctl status iptables
-    ignore_errors: true
     changed_when: false
     changed_when: false
+    failed_when: false
     register: service_iptables_status
     register: service_iptables_status
 
 
   - name: Set fact os_firewall_use_firewalld FALSE for iptables
   - name: Set fact os_firewall_use_firewalld FALSE for iptables