14
plays/nginx.yml
Executable file
14
plays/nginx.yml
Executable file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env ansible-playbook
|
||||
---
|
||||
- hosts: nginx,!reverseproxy
|
||||
vars:
|
||||
nginx: "{{ glob_nginx | default({}) | combine(service_nginx | default({})) | combine(loc_nginx | default({})) }}"
|
||||
roles:
|
||||
- nginx
|
||||
|
||||
- hosts: reverseproxy
|
||||
vars:
|
||||
nginx: "{{ glob_nginx | default({}) | combine(service_nginx | default({})) | combine(loc_nginx | default({})) }}"
|
||||
reverseproxy: "{{ glob_reverseproxy | default({}) | combine(service_reverseproxy | default({})) | combine(loc_reverseproxy | default({})) }}"
|
||||
roles:
|
||||
- nginx
|
Reference in New Issue
Block a user