we make a cloudlet.
This commit is contained in:
parent
7ce45b1e6c
commit
3bf6158668
3 changed files with 32 additions and 0 deletions
1
inventory/host_vars/fed-cloud10.cloud.fedoraproject.org
Normal file
1
inventory/host_vars/fed-cloud10.cloud.fedoraproject.org
Normal file
|
@ -0,0 +1 @@
|
|||
---
|
1
inventory/host_vars/fed-cloud11.cloud.fedoraproject.org
Normal file
1
inventory/host_vars/fed-cloud11.cloud.fedoraproject.org
Normal file
|
@ -0,0 +1 @@
|
|||
---
|
30
playbooks/hosts/fed-cloud10.cloud.fedoraproject.org.yml
Normal file
30
playbooks/hosts/fed-cloud10.cloud.fedoraproject.org.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
|
||||
- name: deploy Open Stack compute node
|
||||
hosts: fed-cloud10.cloud.fedoraproject.org
|
||||
user: root
|
||||
sudo: yes
|
||||
gather_facts: True
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "{{ private }}/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
roles:
|
||||
- base
|
||||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- collectd/base
|
||||
- sudo
|
||||
|
||||
tasks:
|
||||
- include: "{{ tasks }}/yumrepos.yml"
|
||||
- include: "{{ tasks }}/2fa_client.yml"
|
||||
- include: "{{ tasks }}/motd.yml"
|
||||
|
||||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
||||
- include: "{{ handlers }}/semanage.yml"
|
Loading…
Add table
Add a link
Reference in a new issue