Skip to content

Commit

Permalink
ansible: remove firewalld entirely from ansible
Browse files Browse the repository at this point in the history
Ref: #1879
  • Loading branch information
rvagg committed Oct 21, 2019
1 parent 821de09 commit 2e65cde
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ansible/roles/jenkins-worker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,18 +148,6 @@
command: systemctl restart iptables
when: "'rhel72-s390x' in inventory_hostname"

- name: firewalld | allow ipv4 multicast traffic
command: firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 0 -m pkttype --pkt-type multicast -j ACCEPT
when: "'fedora27-x64' in inventory_hostname"

- name: firewalld | allow ipv6 multicast traffic
command: firewall-cmd --permanent --direct --add-rule ipv6 filter INPUT 0 -m pkttype --pkt-type multicast -j ACCEPT
when: "'fedora27-x64' in inventory_hostname"

- name: firewalld | restart so rules take effect
command: systemctl restart firewalld
when: "'fedora27-x64' in inventory_hostname"

- name: download slave.jar
when: not os|startswith("zos")
get_url:
Expand Down

0 comments on commit 2e65cde

Please sign in to comment.