mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-17 02:13:06 -06:00
DCD-1123: Add nginx server for standalones.
This commit is contained in:
12
roles/nginx/handlers/main.yml
Normal file
12
roles/nginx/handlers/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
|
||||
- name: Restart nginx
|
||||
command: systemctl restart nginx.service
|
||||
ignore_errors: true
|
||||
|
||||
- name: Enable nginx
|
||||
command: systemctl enable nginx.service
|
||||
ignore_errors: true
|
||||
|
||||
- name: Reload systemd units
|
||||
command: systemctl daemon-reload
|
||||
Reference in New Issue
Block a user