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 @@ ...@@ -7,7 +7,7 @@
gather_facts: yes gather_facts: yes
tasks: tasks:
- name: Disable SELinux - name: Disable SELinux
selinux: ansible.posix.selinux:
state: disabled state: disabled
- name: Create celery user - name: Create celery user
user: name=celery-{{ http_port }} groups={{ deploy_user_name }} append=yes state=present createhome=yes user: name=celery-{{ http_port }} groups={{ deploy_user_name }} append=yes state=present createhome=yes
...@@ -350,14 +350,14 @@ ...@@ -350,14 +350,14 @@
- name: Enable firewalld - name: Enable firewalld
service: name=firewalld state=started enabled=yes service: name=firewalld state=started enabled=yes
- name: open http firewall service - name: open http firewall service
firewalld: ansible.posix.firewalld:
service: http service: http
zone: public zone: public
immediate: yes immediate: yes
permanent: true permanent: true
state: enabled state: enabled
- name: open http firewall port - name: open http firewall port
firewalld: ansible.posix.firewalld:
port: "{{ http_port }}/tcp" port: "{{ http_port }}/tcp"
zone: public zone: public
permanent: true permanent: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment