mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 07:38:45 +05:00
Updated ansible
This commit is contained in:
committed by
Dan Christian Bogos
parent
edef262ea1
commit
fb655ee028
@@ -77,13 +77,12 @@
|
||||
include: nginx.yaml
|
||||
when: nginxConfig.stdout_lines|length < 1
|
||||
|
||||
- name: Enable nginx
|
||||
become: true
|
||||
shell: "systemctl enable nginx"
|
||||
|
||||
- name: Start nginx
|
||||
become: true
|
||||
shell: "systemctl start nginx"
|
||||
- name: Enable and start nginx
|
||||
systemd:
|
||||
name: nginx
|
||||
state: started
|
||||
masked: no
|
||||
enabled: yes
|
||||
|
||||
###########################################################################################################################
|
||||
###########################################################################################################################
|
||||
|
||||
@@ -79,13 +79,12 @@
|
||||
include: nginx.yaml
|
||||
when: nginxConfig.stdout_lines|length < 1 or users_filename|length > 0
|
||||
|
||||
- name: Enable nginx
|
||||
become: true
|
||||
shell: "systemctl enable nginx"
|
||||
|
||||
- name: Start nginx
|
||||
become: true
|
||||
shell: "systemctl start nginx"
|
||||
- name: Enable and start nginx
|
||||
systemd:
|
||||
name: nginx
|
||||
state: started
|
||||
masked: no
|
||||
enabled: yes
|
||||
|
||||
- name: Configure docker
|
||||
include: docker.yaml
|
||||
|
||||
@@ -108,13 +108,12 @@
|
||||
include: nginx.yaml
|
||||
when: nginxConfig.stdout_lines|length < 1
|
||||
|
||||
- name: Enable nginx
|
||||
become: true
|
||||
shell: "systemctl enable nginx"
|
||||
|
||||
- name: Start nginx
|
||||
become: true
|
||||
shell: "systemctl start nginx"
|
||||
- name: Enable and start nginx
|
||||
systemd:
|
||||
name: nginx
|
||||
state: started
|
||||
masked: no
|
||||
enabled: yes
|
||||
|
||||
- name: Add .rpmmacros in root directory
|
||||
become: true
|
||||
|
||||
@@ -20,5 +20,6 @@
|
||||
shell: "sudo firewall-cmd --reload"
|
||||
|
||||
- name: Restart the nginx so the change take effects
|
||||
become: true
|
||||
shell: "sudo systemctl restart nginx"
|
||||
systemd:
|
||||
state: restarted
|
||||
name: nginx
|
||||
|
||||
Reference in New Issue
Block a user