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:
10
roles/nginx/tasks/main.yml
Normal file
10
roles/nginx/tasks/main.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
|
||||
- name: Install distro-specific prerequisites
|
||||
include_tasks: "{{ ansible_distribution|lower }}.yml"
|
||||
|
||||
- name: Create nginx configuration
|
||||
template:
|
||||
src: proxy.conf.j2
|
||||
dest: /etc/nginx/default.d/proxy.conf
|
||||
notify: Restart nginx
|
||||
Reference in New Issue
Block a user