MNAIO: Remove mnaio_hosts group and use vm_hosts only
The mnaio_hosts group is redundant. We switch to just using the vm_hosts group instead. Change-Id: I854befd283b62c98e956a5e677ca9d7dbd33416b
This commit is contained in:
parent
49340c566d
commit
14567e0c3c
@ -19,7 +19,7 @@ source bootstrap.sh
|
|||||||
|
|
||||||
source ansible-env.rc
|
source ansible-env.rc
|
||||||
|
|
||||||
ansible mnaio_hosts \
|
ansible vm_hosts \
|
||||||
-i ${MNAIO_INVENTORY:-"playbooks/inventory"} \
|
-i ${MNAIO_INVENTORY:-"playbooks/inventory"} \
|
||||||
-m pip \
|
-m pip \
|
||||||
-a "name=netaddr"
|
-a "name=netaddr"
|
||||||
|
@ -226,6 +226,7 @@
|
|||||||
- "{{ playbook_dir }}/vars/{{ ansible_os_family | lower }}.yml"
|
- "{{ playbook_dir }}/vars/{{ ansible_os_family | lower }}.yml"
|
||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
||||||
- name: Start the VM
|
- name: Start the VM
|
||||||
virt:
|
virt:
|
||||||
name: "{{ hostvars[item]['server_hostname'] }}"
|
name: "{{ hostvars[item]['server_hostname'] }}"
|
||||||
|
@ -27,13 +27,6 @@ swift3 ansible_host=10.0.236.142
|
|||||||
[vm_hosts]
|
[vm_hosts]
|
||||||
mnaio1
|
mnaio1
|
||||||
|
|
||||||
################################## PXE HOSTS ##################################
|
|
||||||
|
|
||||||
# The group "mnaio_hosts" is used to define all host machines that will serve
|
|
||||||
# the purpose of running an MNAIO test environment.
|
|
||||||
[mnaio_hosts]
|
|
||||||
mnaio1
|
|
||||||
|
|
||||||
# The group "pxe_hosts" is used to setup all systems that will be responsible
|
# The group "pxe_hosts" is used to setup all systems that will be responsible
|
||||||
# for PXE boot. This will install all of the needed capabilities to TFTP serve
|
# for PXE boot. This will install all of the needed capabilities to TFTP serve
|
||||||
# system images.
|
# system images.
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
- name: Gather facts
|
- name: Gather facts
|
||||||
hosts: mnaio_hosts
|
hosts: vm_hosts
|
||||||
gather_facts: "{{ gather_facts | default(true) }}"
|
gather_facts: "{{ gather_facts | default(true) }}"
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
tags:
|
tags:
|
||||||
|
Loading…
Reference in New Issue
Block a user