Files
fedora-infra_ansible/playbooks/groups/docs-dev.yml
Kevin Fenzi 6041ec707a Fix up the cloud readme a bit.
Drop the tagia role from docs dev. Copy pasta!
2015-06-24 23:28:32 +00:00

28 lines
845 B
YAML

- name: check/create instance
hosts: docs-dev
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- /srv/private/ansible/vars.yml
- /srv/web/infra/ansible/vars/fedora-cloud.yml
- /srv/private/ansible/files/openstack/passwords.yml
tasks:
- include: "{{ tasks }}/persistent_cloud_new.yml"
- include: "{{ tasks }}/growroot_cloud.yml"
- name: setup all the things
hosts: docs-dev
gather_facts: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- /srv/private/ansible/vars.yml
- /srv/private/ansible/files/openstack/passwords.yml
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks }}/cloud_setup_basic.yml"
- name: set hostname (required by some services, at least postfix need it)
shell: "hostname {{inventory_hostname}}"