diff options
| author | Antoine Ouvrard <antoine.ouvrard@nereide.fr> | 2020-08-24 17:21:59 +0200 |
|---|---|---|
| committer | Antoine Ouvrard <antoine.ouvrard@nereide.fr> | 2020-08-24 17:21:59 +0200 |
| commit | 5fa972f5011d821d386ee8c1571c8238877c396e (patch) | |
| tree | a68dec2464b5d4d9a3f53a6046cc1d83c0a78fe4 /roles/jitsi-pre-install/tasks | |
| parent | 06e5b578b19626c0cfc79712ba66c65b49d4f1b6 (diff) | |
| parent | 7e05bc4be0171ce13eeb27faf70beb5c90fcc27e (diff) | |
Merge branch '7-maj-jitsi' into 'master'
Resolve "maj jitsi"
Closes #7
See merge request 10031/visio!10
Diffstat (limited to 'roles/jitsi-pre-install/tasks')
| -rw-r--r-- | roles/jitsi-pre-install/tasks/main.yml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/roles/jitsi-pre-install/tasks/main.yml b/roles/jitsi-pre-install/tasks/main.yml index 73c113c..509e6be 100644 --- a/roles/jitsi-pre-install/tasks/main.yml +++ b/roles/jitsi-pre-install/tasks/main.yml @@ -1,11 +1,12 @@ --- -- name: Installation de fail2ban, nftables, gnupg2, apt-transport-https +- name: Installation de fail2ban, nftables, gnupg2, apt-transport-https, ufw apt: name: - fail2ban - nftables - gnupg2 - apt-transport-https + - ufw update_cache: true state: present @@ -36,6 +37,20 @@ - restart nftables - restart fail2ban +- name: Mise en place des règle firewall tcp et udp + #source : https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-quickstart#setup-and-configure-your-firewall + ufw: + state: enabled + rule: allow + port: '{{ item[0] }}' + proto: '{{ item[1] }}' + loop: + - ['80','tcp'] + - ['443','tcp'] + - ['4443','tcp'] + - ['22','tcp'] + - ['10000','udp'] + - name: Ajout de la clé GPG pour le depot jitsi apt_key: url: http://download.jitsi.org/jitsi-key.gpg.key |
