Add core of newcloud.yml
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
b8f7ea06e1
commit
e6bff2c6d9
1 changed files with 29 additions and 0 deletions
29
playbooks/groups/newcloud.yml
Normal file
29
playbooks/groups/newcloud.yml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Set up OpenStack
|
||||||
|
#
|
||||||
|
- name: basic host setup
|
||||||
|
hosts: newcloud
|
||||||
|
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
|
||||||
|
- nagios_client
|
||||||
|
- hosts
|
||||||
|
- fas_client
|
||||||
|
- 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