Move new openstack compute nodes to a group playbook.
This commit is contained in:
parent
b67dbf81b2
commit
81e7d8fa98
7 changed files with 10 additions and 182 deletions
|
@ -1,33 +0,0 @@
|
|||
---
|
||||
|
||||
- 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
|
||||
- "/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
|
||||
- hosts
|
||||
- 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"
|
|
@ -1,36 +0,0 @@
|
|||
---
|
||||
|
||||
#- name: deploy Open Stack compute node
|
||||
- name: deploy Kushal temp box
|
||||
hosts: fed-cloud11.cloud.fedoraproject.org
|
||||
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/{{ ansible_distribution }}.yml
|
||||
# - /srv/web/infra/ansible/vars/fedora-cloud.yml
|
||||
# - "{{ private }}/files/openstack/passwords.yml"
|
||||
|
||||
roles:
|
||||
- base
|
||||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- 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"
|
||||
|
||||
# - authorized_key: user=root key="{{ lookup('file', files + '/fedora-cloud/fed09-ssh-key.pub') }}"
|
|
@ -1,36 +0,0 @@
|
|||
---
|
||||
|
||||
#- name: deploy Open Stack compute node
|
||||
- name: deploy Kushal temp box
|
||||
hosts: fed-cloud12.cloud.fedoraproject.org
|
||||
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/{{ ansible_distribution }}.yml
|
||||
# - /srv/web/infra/ansible/vars/fedora-cloud.yml
|
||||
# - "{{ private }}/files/openstack/passwords.yml"
|
||||
|
||||
roles:
|
||||
- base
|
||||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- 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"
|
||||
|
||||
# - authorized_key: user=root key="{{ lookup('file', files + '/fedora-cloud/fed09-ssh-key.pub') }}"
|
|
@ -1,36 +0,0 @@
|
|||
---
|
||||
|
||||
#- name: deploy Open Stack compute node
|
||||
- name: deploy Kushal temp box
|
||||
hosts: fed-cloud13.cloud.fedoraproject.org
|
||||
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/{{ ansible_distribution }}.yml
|
||||
# - /srv/web/infra/ansible/vars/fedora-cloud.yml
|
||||
# - "{{ private }}/files/openstack/passwords.yml"
|
||||
|
||||
roles:
|
||||
- base
|
||||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- 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"
|
||||
|
||||
# - authorized_key: user=root key="{{ lookup('file', files + '/fedora-cloud/fed09-ssh-key.pub') }}"
|
|
@ -1,36 +0,0 @@
|
|||
---
|
||||
|
||||
#- name: deploy Open Stack compute node
|
||||
- name: deploy Kushal temp box
|
||||
hosts: fed-cloud14.cloud.fedoraproject.org
|
||||
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/{{ ansible_distribution }}.yml
|
||||
# - /srv/web/infra/ansible/vars/fedora-cloud.yml
|
||||
# - "{{ private }}/files/openstack/passwords.yml"
|
||||
|
||||
roles:
|
||||
- base
|
||||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- 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"
|
||||
|
||||
# - authorized_key: user=root key="{{ lookup('file', files + '/fedora-cloud/fed09-ssh-key.pub') }}"
|
|
@ -1,36 +0,0 @@
|
|||
---
|
||||
|
||||
#- name: deploy Open Stack compute node
|
||||
- name: deploy Kushal temp box
|
||||
hosts: fed-cloud15.cloud.fedoraproject.org
|
||||
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/{{ ansible_distribution }}.yml
|
||||
# - /srv/web/infra/ansible/vars/fedora-cloud.yml
|
||||
# - "{{ private }}/files/openstack/passwords.yml"
|
||||
|
||||
roles:
|
||||
- base
|
||||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- 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"
|
||||
|
||||
# - authorized_key: user=root key="{{ lookup('file', files + '/fedora-cloud/fed09-ssh-key.pub') }}"
|
Loading…
Add table
Add a link
Reference in a new issue