summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2019-01-20 16:33:45 +0100
committerMatthieu Saulnier <fantom@fedoraproject.org>2019-01-20 16:33:45 +0100
commita7e193cc2ac0edb1c1bea60391bdfe5c3af70a2b (patch)
treeac6b66c018a66c88050e1da43ef7d4989df17304
parent595ad0129e8f6858c139f4a3fda4ca677d395c9a (diff)
downloadplaybooks-ansible-a7e193cc2ac0edb1c1bea60391bdfe5c3af70a2b.tar.gz
playbooks-ansible-a7e193cc2ac0edb1c1bea60391bdfe5c3af70a2b.tar.xz
playbooks-ansible-a7e193cc2ac0edb1c1bea60391bdfe5c3af70a2b.zip
Add missing task for http port in torrelay role
-rw-r--r--roles/torrelay/tasks/fw.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/torrelay/tasks/fw.yml b/roles/torrelay/tasks/fw.yml
index 8a931aa..e4ec267 100644
--- a/roles/torrelay/tasks/fw.yml
+++ b/roles/torrelay/tasks/fw.yml
@@ -16,6 +16,15 @@
when: orport is defined and orport != httpsport
and orport == pop3sport
+- name: Ouverture du port ORPort
+ firewalld:
+ service: "https"
+ permanent: yes
+ immediate: yes
+ state: enabled
+ when: orport is defined and orport == httpsport
+ and orport != pop3sport
+
- name: Ouverture du port DIRPort
firewalld:
port: "{{ dirport }}"
@@ -33,3 +42,12 @@
state: enabled
when: dirport is defined and dirport != httpport
and dirport == pop3port
+
+- name: Ouverture du port DIRPort
+ firewalld:
+ service: "http"
+ permanent: yes
+ immediate: yes
+ state: enabled
+ when: dirport is defined and dirport == httpport
+ and dirport != pop3port