2014-05-23 16:48:59 +00:00
|
|
|
# create a new qadevel server
|
|
|
|
#
|
2016-08-08 19:36:31 +00:00
|
|
|
# This server looks for rawhide builds and requests they be signed.
|
2014-05-23 16:48:59 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
- name: make qadevel server
|
2016-11-04 18:27:42 +00:00
|
|
|
hosts: qadevel:qadevel-stg
|
2014-05-23 16:48:59 +00:00
|
|
|
user: root
|
|
|
|
gather_facts: False
|
|
|
|
|
2016-08-08 19:36:31 +00:00
|
|
|
vars_files:
|
2014-05-23 16:48:59 +00:00
|
|
|
- /srv/web/infra/ansible/vars/global.yml
|
2015-01-09 22:59:18 +00:00
|
|
|
- "/srv/private/ansible/vars.yml"
|
2014-05-23 16:48:59 +00:00
|
|
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
|
|
|
|
|
|
tasks:
|
2017-10-17 17:37:03 +00:00
|
|
|
- import_tasks: "{{ tasks_path }}/virt_instance_create.yml"
|
2014-05-23 16:48:59 +00:00
|
|
|
|
|
|
|
handlers:
|
2017-10-17 17:37:03 +00:00
|
|
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
2014-05-23 16:48:59 +00:00
|
|
|
|
|
|
|
- name: make the box be real
|
2016-11-04 18:27:42 +00:00
|
|
|
hosts: qadevel:qadevel-stg
|
2014-05-23 16:48:59 +00:00
|
|
|
user: root
|
|
|
|
gather_facts: True
|
|
|
|
|
2016-08-08 19:36:31 +00:00
|
|
|
vars_files:
|
2014-05-23 16:48:59 +00:00
|
|
|
- /srv/web/infra/ansible/vars/global.yml
|
2015-01-09 22:59:18 +00:00
|
|
|
- "/srv/private/ansible/vars.yml"
|
2014-05-23 16:48:59 +00:00
|
|
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- base
|
|
|
|
- rkhunter
|
2017-05-05 22:12:33 +00:00
|
|
|
- nagios_client
|
2014-05-23 16:48:59 +00:00
|
|
|
- fas_client
|
|
|
|
- collectd/base
|
2014-06-14 20:58:52 +00:00
|
|
|
- sudo
|
2014-05-23 16:48:59 +00:00
|
|
|
|
|
|
|
tasks:
|
2017-10-17 17:37:03 +00:00
|
|
|
- import_tasks: "{{ tasks_path }}/hosts.yml"
|
|
|
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
|
|
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
|
|
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
2014-05-23 16:48:59 +00:00
|
|
|
|
|
|
|
handlers:
|
2017-10-17 17:37:03 +00:00
|
|
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|