2013-05-15 20:30:00 +00:00
|
|
|
# provision a new kernel-qa system
|
|
|
|
# NOTE: this assumes the kernel-qa boxes are already up and are accessible
|
2014-01-06 17:49:22 +00:00
|
|
|
# NOTE: most of these vars_path come from group_vars/kernel-qa or from hostvars
|
2013-05-15 20:30:00 +00:00
|
|
|
|
|
|
|
- name: make kernel-qa
|
|
|
|
hosts: kernel-qa
|
|
|
|
user: root
|
|
|
|
gather_facts: True
|
|
|
|
|
2016-08-08 19:36:31 +00:00
|
|
|
vars_files:
|
2013-05-15 20:30:00 +00:00
|
|
|
- /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-05-15 20:30:00 +00:00
|
|
|
|
2013-08-19 20:12:26 +00:00
|
|
|
roles:
|
2014-01-23 17:12:40 +00:00
|
|
|
- base
|
|
|
|
- rkhunter
|
2017-05-05 22:12:33 +00:00
|
|
|
- nagios_client
|
2014-01-23 17:12:40 +00:00
|
|
|
- fas_client
|
2014-06-14 20:58:52 +00:00
|
|
|
- sudo
|
2015-09-11 20:48:14 +00:00
|
|
|
- hosts
|
2013-08-19 20:12:26 +00:00
|
|
|
|
2013-05-15 20:30:00 +00:00
|
|
|
tasks:
|
2017-10-15 19:46:08 +00:00
|
|
|
- include_tasks: "{{ tasks_path }}/2fa_client.yml"
|
|
|
|
- include_tasks: "{{ tasks_path }}/motd.yml"
|
2013-05-21 19:44:28 +00:00
|
|
|
|
2013-05-15 20:30:00 +00:00
|
|
|
|
|
|
|
handlers:
|
2017-10-15 20:33:11 +00:00
|
|
|
- include_tasks: "{{ handlers_path }}/restart_services.yml"
|