moving roles around so apache is installed before taskotron is configured

This commit is contained in:
Tim Flink 2014-07-01 14:22:29 +00:00
parent c3e7188331
commit a879f25ab9

View file

@ -40,17 +40,34 @@
- { role: collectd/base, tags:['collectd_base'] }
- { role: yum-cron, tags:['yumcron'] }
- { role: sudo, tags:['sudo'] }
# - { role: taskotron/grokmirror, tags: ['grokmirror'] }
# - { role: taskotron/cgit, tags: ['cgit'] }
- { role: taskotron/buildmaster, tags: ['buildmaster'] }
# - { role: taskotron/taskotron-trigger, tags: ['trigger'] }
# - { role: taskotron/taskotron-frontend, tags: ['frontend'] }
tasks:
# this is how you include other task lists
- include: "{{ tasks }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml"
- include: "{{ tasks }}/apache.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: configure taskotron master
hosts: taskotron-dev01.qa.fedoraproject.org
user: root
gather_facts: True
accelerate: "{{ accelerated }}"
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
# - { role: taskotron/grokmirror, tags: ['grokmirror'] }
# - { role: taskotron/cgit, tags: ['cgit'] }
- { role: taskotron/buildmaster, tags: ['buildmaster'] }
# - { role: taskotron/taskotron-trigger, tags: ['trigger'] }
# - { role: taskotron/taskotron-frontend, tags: ['frontend'] }
handlers:
- include: "{{ handlers }}/restart_services.yml"