mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-16 05:39:54 +05:00
Updated ansible scripts for nginx
This commit is contained in:
committed by
Dan Christian Bogos
parent
506a2e0667
commit
d6403d0908
@@ -76,6 +76,14 @@
|
||||
- name: Configure NGINX server
|
||||
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"
|
||||
|
||||
###########################################################################################################################
|
||||
###########################################################################################################################
|
||||
|
||||
@@ -79,6 +79,14 @@
|
||||
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: Configure docker
|
||||
include: docker.yaml
|
||||
|
||||
|
||||
@@ -107,7 +107,15 @@
|
||||
- name: Configure NGINX server
|
||||
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: Add .rpmmacros in root directory
|
||||
become: true
|
||||
template:
|
||||
|
||||
Reference in New Issue
Block a user