Skip to content

Commit

Permalink
Merge pull request #447 from rebtoor/nftables_fix_check
Browse files Browse the repository at this point in the history
Execute `Ensure legacy iptables services are off` task only if iptables and ip6tables services are present
  • Loading branch information
openshift-ci[bot] authored Oct 13, 2023
2 parents 046e93b + 62e72a6 commit b3c1ada
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/edpm_nftables/tasks/service-bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
loop:
- iptables.service
- ip6tables.service
when:
- ansible_facts.services["{{ item }}"] is defined

- name: Ensure nftables service is enabled and running
ansible.builtin.systemd:
Expand Down

0 comments on commit b3c1ada

Please sign in to comment.