blob: 4f760b53372197b45d7878674f65fa77954dba79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
---
- name: deploy Open Stack compute nodes
hosts: openstack-compute
user: root
sudo: yes
gather_facts: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/RedHat.yml
- /srv/web/infra/ansible/vars/fedora-cloud.yml
- "/srv/private/ansible/files/openstack/passwords.yml"
roles:
- base
- rkhunter
- nagios_client
- fas_client
- collectd/base
- sudo
- cloud_compute
tasks:
- include: "{{ tasks }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- include: "{{ handlers }}/semanage.yml"
|