Commit 358d16c6 authored by Fabien  MAREUIL's avatar Fabien MAREUIL
Browse files

add in deploy.yml ansible.posix

parent aa964d1b
Pipeline #50424 failed with stages
in 25 minutes and 16 seconds
......@@ -7,7 +7,7 @@
gather_facts: yes
tasks:
- name: Disable SELinux
selinux:
ansible.posix.selinux:
state: disabled
- name: Create celery user
user: name=celery-{{ http_port }} groups={{ deploy_user_name }} append=yes state=present createhome=yes
......@@ -350,14 +350,14 @@
- name: Enable firewalld
service: name=firewalld state=started enabled=yes
- name: open http firewall service
firewalld:
ansible.posix.firewalld:
service: http
zone: public
immediate: yes
permanent: true
state: enabled
- name: open http firewall port
firewalld:
ansible.posix.firewalld:
port: "{{ http_port }}/tcp"
zone: public
permanent: true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment