ansible/playbooks/manual/qadevel.yml

48 lines
1.1 KiB
YAML
Raw Normal View History

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
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
- "/srv/private/ansible/vars.yml"
2014-05-23 16:48:59 +00:00
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- import_tasks: "{{ tasks_path }}/virt_instance_create.yml"
2014-05-23 16:48:59 +00:00
handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml"
2014-05-23 16:48:59 +00:00
- name: make the box be real
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
- "/srv/private/ansible/vars.yml"
2014-05-23 16:48:59 +00:00
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- base
- rkhunter
- nagios_client
2014-05-23 16:48:59 +00:00
- fas_client
- collectd/base
- sudo
2014-05-23 16:48:59 +00:00
tasks:
- 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:
- import_tasks: "{{ handlers_path }}/restart_services.yml"