DCD-1123: Add nginx server for standalones.

This commit is contained in:
Steve Smith
2020-10-22 12:25:00 +11:00
parent b55dbca2d7
commit 845cced6bb
6 changed files with 64 additions and 1 deletions

View 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