19 lignes
319 o
YAML
19 lignes
319 o
YAML
|
- name: Start firewalld
|
||
|
systemd:
|
||
|
name: firewalld
|
||
|
enabled: yes
|
||
|
state: started
|
||
|
become: true
|
||
|
|
||
|
- name: Add firewalld http and https service
|
||
|
firewalld:
|
||
|
service: "{{ item }}"
|
||
|
permanent: true
|
||
|
state: enabled
|
||
|
zone: public
|
||
|
immediate: true
|
||
|
with_items:
|
||
|
- http
|
||
|
- https
|
||
|
become: true
|