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
|
|
|
|
# NOTE: most of these vars come from group_vars/kernel-qa or from hostvars
|
|
|
|
|
|
|
|
- name: make kernel-qa
|
|
|
|
hosts: kernel-qa
|
|
|
|
user: root
|
|
|
|
gather_facts: True
|
|
|
|
|
|
|
|
vars_files:
|
|
|
|
- /srv/web/infra/ansible/vars/global.yml
|
|
|
|
- ${private}/vars.yml
|
|
|
|
- ${vars}/${ansible_distribution}.yml
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
# this is how you include other task lists
|
2013-05-17 21:20:13 +00:00
|
|
|
- include: $tasks/hosts.yml
|
2013-05-20 17:14:56 +00:00
|
|
|
- include: $tasks/yumrepos.yml
|
2013-05-15 20:42:41 +00:00
|
|
|
- include: $tasks/base.yml
|
2013-05-17 16:36:57 +00:00
|
|
|
- include: $tasks/fas_client.yml
|
2013-05-20 17:14:56 +00:00
|
|
|
- include: $tasks/2fa_client.yml
|
|
|
|
- include: $tasks/motd.yml
|
|
|
|
- include: $tasks/sudo.yml
|
2013-05-21 19:09:27 +00:00
|
|
|
- include: $tasks/rkhunter.yml
|
2013-05-15 20:30:00 +00:00
|
|
|
|
|
|
|
handlers:
|
|
|
|
- include: $handlers/restart_services.yml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|