moving roles around so apache is installed before taskotron is configured
This commit is contained in:
parent
c3e7188331
commit
a879f25ab9
1 changed files with 22 additions and 5 deletions
|
@ -40,17 +40,34 @@
|
||||||
- { role: collectd/base, tags:['collectd_base'] }
|
- { role: collectd/base, tags:['collectd_base'] }
|
||||||
- { role: yum-cron, tags:['yumcron'] }
|
- { role: yum-cron, tags:['yumcron'] }
|
||||||
- { role: sudo, tags:['sudo'] }
|
- { 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:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/motd.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:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue