Remove config-mgmt group, instead use localhost

There are places where we assume the control host is localhost, so this group is of
little use.
This commit is contained in:
Mark Goddard 2017-11-30 18:26:55 +00:00
parent ef3c1c069f
commit dbb298707a
8 changed files with 7 additions and 9 deletions

View File

@ -1,6 +1,6 @@
--- ---
- name: Ensure configuration management host is bootstrapped - name: Ensure configuration management host is bootstrapped
hosts: config-mgmt hosts: localhost
roles: roles:
- role: bootstrap - role: bootstrap
bootstrap_ssh_key_type: "{{ ssh_key_type }}" bootstrap_ssh_key_type: "{{ ssh_key_type }}"

View File

@ -1,6 +1,6 @@
--- ---
- name: Ensure Dell baremetal compute nodes are present in the Ansible inventory - name: Ensure Dell baremetal compute nodes are present in the Ansible inventory
hosts: config-mgmt hosts: localhost
gather_facts: no gather_facts: no
vars: vars:
# Set this to a colon-separated list of baremeal compute node hostnames on # Set this to a colon-separated list of baremeal compute node hostnames on

View File

@ -1,6 +1,6 @@
--- ---
- name: Ensure Kolla Ansible is configured - name: Ensure Kolla Ansible is configured
hosts: config-mgmt hosts: localhost
vars: vars:
# We need to reference configuration for the controller and seed nodes. # We need to reference configuration for the controller and seed nodes.
# We pick the first host from each group for this. It is possible that at # We pick the first host from each group for this. It is possible that at

View File

@ -1,6 +1,6 @@
--- ---
- name: Ensure Kolla Bifrost is configured - name: Ensure Kolla Bifrost is configured
hosts: config-mgmt hosts: localhost
vars: vars:
kolla_bifrost_extra_globals_path: "{{ kayobe_config_path ~ '/kolla/config/bifrost/bifrost.yml' }}" kolla_bifrost_extra_globals_path: "{{ kayobe_config_path ~ '/kolla/config/bifrost/bifrost.yml' }}"
kolla_bifrost_driver_map: kolla_bifrost_driver_map:

View File

@ -72,7 +72,7 @@
- config - config
- name: Ensure Kolla OpenStack components are configured - name: Ensure Kolla OpenStack components are configured
hosts: config-mgmt hosts: localhost
vars: vars:
switch_type_to_device_type: switch_type_to_device_type:
dellos9: netmiko_dell_force10 dellos9: netmiko_dell_force10

View File

@ -3,7 +3,7 @@
# as the admin user in the admin project. # as the admin user in the admin project.
- name: Ensure a public OpenStack API environment file exists - name: Ensure a public OpenStack API environment file exists
hosts: config-mgmt hosts: localhost
vars: vars:
public_api_proto: "{% if kolla_enable_tls_external | bool %}https{% else %}http{% endif %}" public_api_proto: "{% if kolla_enable_tls_external | bool %}https{% else %}http{% endif %}"
public_api_vip_address: "{{ public_net_name | net_vip_address }}" public_api_vip_address: "{{ public_net_name | net_vip_address }}"

View File

@ -82,8 +82,7 @@ Inventory
The inventory should contain the following hosts: The inventory should contain the following hosts:
Control host Control host
This should be localhost and should be a member of the ``config-mgmt`` This should be localhost.
group.
Seed hypervisor Seed hypervisor
If provisioning a seed VM, a host should exist for the hypervisor that If provisioning a seed VM, a host should exist for the hypervisor that
will run the VM, and should be a member of the ``seed-hypervisor`` group. will run the VM, and should be a member of the ``seed-hypervisor`` group.

View File

@ -1,7 +1,6 @@
# Kayobe hosts inventory file. This file should be modified to define the hosts # Kayobe hosts inventory file. This file should be modified to define the hosts
# and their top-level group membership. # and their top-level group membership.
[config-mgmt]
# This host acts as the configuration management control host. This must be # This host acts as the configuration management control host. This must be
# localhost. # localhost.
localhost ansible_connection=local localhost ansible_connection=local