Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/deploy/ansible/roles/firewalld/tasks/main.yml
tomleb 90356b22bc Install firewalld before starting it
Firewalld was installed on vagrant centos by default but not on server.
2017-05-26 08:56:49 -04:00

23 lignes
392 o
YAML

- name: Install firewalld
yum:
name: firewalld
state: present
- 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