15 lines
528 B
YAML
15 lines
528 B
YAML
|
#!/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
|