Move publican stuff to another play

This commit is contained in:
Kevin Fenzi 2014-05-12 21:52:10 +00:00
parent 092004acaa
commit d367982cba

View file

@ -2,6 +2,7 @@
hosts: docs-backend
user: root
gather_facts: False
accelerate: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
@ -18,6 +19,7 @@
hosts: docs-backend
user: root
gather_facts: True
accelerate: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
@ -32,7 +34,6 @@
- fas_client
- collectd/base
- yum-cron
- { role: publican_webhost, kojitag: "el6-docs", publican_brand: "fedora", site_title: "Fedora Documentation", site_host: "http://docs.fedoraproject.org" }
tasks:
# this is how you include other task lists
@ -46,3 +47,20 @@
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: setup publican web
hosts: docs-backend
user: root
gather_facts: True
accelerate: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- { role: publican_webhost, kojitag: "el6-docs", publican_brand: "fedora", site_title: "Fedora Documentation", site_host: "http://docs.fedoraproject.org" }
handlers:
- include: "{{ handlers }}/restart_services.yml"