mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-17 10:23:13 -06:00
DCD-1123: Add nginx server for standalones.
This commit is contained in:
17
roles/nginx/tasks/amazon.yml
Normal file
17
roles/nginx/tasks/amazon.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
|
||||
- name: Enable nginx from 'extras'
|
||||
command: amazon-linux-extras install -y "nginx1"
|
||||
args:
|
||||
creates: /sbin/nginx
|
||||
environment:
|
||||
PYTHON: /bin/python
|
||||
|
||||
- name: Reload systemd units
|
||||
command: systemctl daemon-reload
|
||||
ignore_errors: true
|
||||
|
||||
- name: Enable nginx
|
||||
command: systemctl enable nginx.service
|
||||
ignore_errors: true
|
||||
|
||||
Reference in New Issue
Block a user