Skip to content
Snippets Groups Projects
Commit 358d16c6 authored by Fabien  MAREUIL's avatar Fabien MAREUIL
Browse files

add in deploy.yml ansible.posix

parent aa964d1b
No related branches found
No related tags found
1 merge request!30Prepare for v1.1.1
Pipeline #50424 failed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment