so we have something for our bare minimum systems
This commit is contained in:
parent
91c522d6f9
commit
63e4040435
2 changed files with 34 additions and 0 deletions
|
@ -221,6 +221,10 @@ mdapi01.phx2.fedoraproject.org
|
|||
[mdapi-stg]
|
||||
mdapi01.stg.phx2.fedoraproject.org
|
||||
|
||||
[minimal]
|
||||
bkernel03.phx2.fedoraproject.org
|
||||
bkernel04.phx2.fedoraproject.org
|
||||
|
||||
[modernpaste]
|
||||
modernpaste01.phx2.fedoraproject.org
|
||||
modernpaste02.phx2.fedoraproject.org
|
||||
|
|
30
playbooks/groups/minimal.yml
Normal file
30
playbooks/groups/minimal.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
# This is a basic playbook
|
||||
|
||||
- name: dole out the generic configuration
|
||||
hosts: minimal
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
pre_tasks:
|
||||
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||
|
||||
roles:
|
||||
- base
|
||||
- rkhunter
|
||||
- hosts
|
||||
- fas_client
|
||||
- nagios_client
|
||||
- collectd/base
|
||||
- sudo
|
||||
|
||||
tasks:
|
||||
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||
|
||||
handlers:
|
||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
Loading…
Add table
Add a link
Reference in a new issue