2015-01-05 17:15:02 +00:00
|
|
|
- name: make releng systems
|
|
|
|
hosts: compose-x86-01.phx2.fedoraproject.org
|
|
|
|
user: root
|
|
|
|
gather_facts: False
|
|
|
|
|
|
|
|
vars_files:
|
|
|
|
- /srv/web/infra/ansible/vars/global.yml
|
2015-01-09 22:59:18 +00:00
|
|
|
- "/srv/private/ansible/vars.yml"
|
2015-01-05 17:15:02 +00:00
|
|
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
- include: "{{ tasks }}/virt_instance_create.yml"
|
|
|
|
|
|
|
|
handlers:
|
|
|
|
- include: "{{ handlers }}/restart_services.yml"
|
2013-04-12 17:44:53 +00:00
|
|
|
|
2015-01-05 17:15:02 +00:00
|
|
|
- name: Setup releng compose hosts
|
|
|
|
hosts: releng-compose
|
2013-04-12 17:44:53 +00:00
|
|
|
user: root
|
2013-04-17 21:52:28 +00:00
|
|
|
gather_facts: True
|
2013-04-12 17:44:53 +00:00
|
|
|
tags:
|
2015-01-05 17:15:02 +00:00
|
|
|
- releng-compose
|
2013-04-12 17:44:53 +00:00
|
|
|
|
|
|
|
vars_files:
|
|
|
|
- /srv/web/infra/ansible/vars/global.yml
|
2015-01-09 22:59:18 +00:00
|
|
|
- "/srv/private/ansible/vars.yml"
|
2014-01-06 18:22:18 +00:00
|
|
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
2013-04-12 17:44:53 +00:00
|
|
|
|
2013-08-19 20:12:26 +00:00
|
|
|
roles:
|
2014-01-23 17:12:40 +00:00
|
|
|
- base
|
2014-06-23 00:49:31 +00:00
|
|
|
- hosts
|
2014-01-23 17:12:40 +00:00
|
|
|
- fas_client
|
|
|
|
- rkhunter
|
|
|
|
- nagios_client
|
2014-06-14 20:58:52 +00:00
|
|
|
- sudo
|
2015-01-05 17:58:37 +00:00
|
|
|
- role: nfs/client
|
|
|
|
mnt_dir: '/mnt/fedora_koji'
|
|
|
|
nfs_src_dir: 'fedora_koji'
|
2014-07-08 20:36:26 +00:00
|
|
|
- releng
|
2013-08-19 20:12:26 +00:00
|
|
|
|
2013-04-12 17:44:53 +00:00
|
|
|
tasks:
|
2013-08-23 21:50:25 +00:00
|
|
|
# this is how you include other task lists
|
2014-01-01 19:15:11 +00:00
|
|
|
- include: "{{ tasks }}/2fa_client.yml"
|
|
|
|
- include: "{{ tasks }}/motd.yml"
|
|
|
|
- include: "{{ tasks }}/common_scripts.yml"
|
2013-08-23 22:29:16 +00:00
|
|
|
|
|
|
|
handlers:
|
2014-01-01 19:15:11 +00:00
|
|
|
- include: "{{ handlers }}/restart_services.yml"
|