main.yml 426 B

123456789101112
  1. ---
  2. - name: Assert - Do not use firewalld on Atomic Host
  3. assert:
  4. that: not os_firewall_use_firewalld | bool
  5. msg: "Firewalld is not supported on Atomic Host"
  6. when: openshift.common.is_atomic | bool
  7. - include: firewall/firewalld.yml
  8. when: os_firewall_enabled | bool and os_firewall_use_firewalld | bool
  9. - include: firewall/iptables.yml
  10. when: os_firewall_enabled | bool and not os_firewall_use_firewalld | bool