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:
parent
ef3c1c069f
commit
dbb298707a
@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Ensure configuration management host is bootstrapped
|
||||
hosts: config-mgmt
|
||||
hosts: localhost
|
||||
roles:
|
||||
- role: bootstrap
|
||||
bootstrap_ssh_key_type: "{{ ssh_key_type }}"
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Ensure Dell baremetal compute nodes are present in the Ansible inventory
|
||||
hosts: config-mgmt
|
||||
hosts: localhost
|
||||
gather_facts: no
|
||||
vars:
|
||||
# Set this to a colon-separated list of baremeal compute node hostnames on
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Ensure Kolla Ansible is configured
|
||||
hosts: config-mgmt
|
||||
hosts: localhost
|
||||
vars:
|
||||
# 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
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Ensure Kolla Bifrost is configured
|
||||
hosts: config-mgmt
|
||||
hosts: localhost
|
||||
vars:
|
||||
kolla_bifrost_extra_globals_path: "{{ kayobe_config_path ~ '/kolla/config/bifrost/bifrost.yml' }}"
|
||||
kolla_bifrost_driver_map:
|
||||
|
@ -72,7 +72,7 @@
|
||||
- config
|
||||
|
||||
- name: Ensure Kolla OpenStack components are configured
|
||||
hosts: config-mgmt
|
||||
hosts: localhost
|
||||
vars:
|
||||
switch_type_to_device_type:
|
||||
dellos9: netmiko_dell_force10
|
||||
|
@ -3,7 +3,7 @@
|
||||
# as the admin user in the admin project.
|
||||
|
||||
- name: Ensure a public OpenStack API environment file exists
|
||||
hosts: config-mgmt
|
||||
hosts: localhost
|
||||
vars:
|
||||
public_api_proto: "{% if kolla_enable_tls_external | bool %}https{% else %}http{% endif %}"
|
||||
public_api_vip_address: "{{ public_net_name | net_vip_address }}"
|
||||
|
@ -82,8 +82,7 @@ Inventory
|
||||
The inventory should contain the following hosts:
|
||||
|
||||
Control host
|
||||
This should be localhost and should be a member of the ``config-mgmt``
|
||||
group.
|
||||
This should be localhost.
|
||||
Seed hypervisor
|
||||
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.
|
||||
|
@ -1,7 +1,6 @@
|
||||
# Kayobe hosts inventory file. This file should be modified to define the hosts
|
||||
# and their top-level group membership.
|
||||
|
||||
[config-mgmt]
|
||||
# This host acts as the configuration management control host. This must be
|
||||
# localhost.
|
||||
localhost ansible_connection=local
|
||||
|
Loading…
Reference in New Issue
Block a user