Move proxy subplaybooks to an include dir so they don't get run by check/diff script.
This commit is contained in:
parent
136e9397fd
commit
6bedc3a2ca
9 changed files with 8 additions and 8 deletions
22
playbooks/include/proxies-haproxy.yml
Normal file
22
playbooks/include/proxies-haproxy.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
- name: Set up all the haproxy stuff.
|
||||
hosts: proxies-stg:proxy03.fedoraproject.org
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
||||
|
||||
roles:
|
||||
|
||||
# The base haproxy role that sets it all up
|
||||
- role: haproxy
|
||||
|
||||
# And an additional apache rewrite so we can access the web stats
|
||||
- role: haproxy/rewrite
|
||||
website: admin.fedoraproject.org
|
||||
path: /haproxy
|
Loading…
Add table
Add a link
Reference in a new issue