This commit is contained in:
parent
3188ac3fd2
commit
497729aa5d
7
tasks/firewalld.yml
Normal file
7
tasks/firewalld.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
- name: disable firewalld
|
||||||
|
systemd:
|
||||||
|
name: firewalld
|
||||||
|
state: stopped
|
||||||
|
enabled: false
|
||||||
|
become: true
|
@ -17,6 +17,8 @@
|
|||||||
- include_tasks: ssh.yml
|
- include_tasks: ssh.yml
|
||||||
- include_tasks: pacman.yml
|
- include_tasks: pacman.yml
|
||||||
when: ansible_facts['os_family'] == "Archlinux"
|
when: ansible_facts['os_family'] == "Archlinux"
|
||||||
|
- include_tasks: firewalld.yml
|
||||||
|
when: ansible_facts['os_family'] == "RedHat"
|
||||||
- include_tasks: depot_debian.yml
|
- include_tasks: depot_debian.yml
|
||||||
when: ansible_facts['os_family'] == "Debian"
|
when: ansible_facts['os_family'] == "Debian"
|
||||||
- include_tasks: depot_redhat.yml
|
- include_tasks: depot_redhat.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user