Set container_name as host_var in test inventory
The connection plugin no longer falls back on using the inventory_hostname as the container_name. Set container_name as a host var for each container in the test inventory. Change-Id: I405b64b8067e43309257d50a5c2acc915c789d24
This commit is contained in:
parent
a1fb95b2fa
commit
26fdbcd102
@ -13,7 +13,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
container_name: "{{ inventory_hostname }}"
|
||||
physical_host: localhost
|
||||
properties:
|
||||
service_name: "{{ inventory_hostname }}"
|
||||
|
@ -16,6 +16,7 @@
|
||||
ansible_host: 10.1.1.101
|
||||
ansible_become: True
|
||||
ansible_user: root
|
||||
container_name: infra1
|
||||
container_networks:
|
||||
management_address:
|
||||
address: "{{ ansible_host }}"
|
||||
|
@ -17,7 +17,7 @@ ansible_host: 10.1.1.104
|
||||
ansible_become: True
|
||||
ansible_user: root
|
||||
ipmi_address: 10.1.4.104
|
||||
container_name: "{{ inventory_hostname }}"
|
||||
container_name: ironic1
|
||||
container_networks:
|
||||
management_address:
|
||||
address: "{{ ansible_host }}"
|
||||
|
@ -19,7 +19,7 @@ ansible_user: root
|
||||
tunnel_address: 10.1.2.102
|
||||
neutron_local_ip: 10.1.2.102
|
||||
storage_address: 10.1.5.102
|
||||
container_name: "{{ inventory_hostname }}"
|
||||
container_name: openstack1
|
||||
container_networks:
|
||||
management_address:
|
||||
address: "{{ ansible_host }}"
|
||||
|
@ -17,6 +17,7 @@ ansible_host: 10.1.1.103
|
||||
storage_address: 10.1.5.103
|
||||
ansible_user: root
|
||||
ansible_become: True
|
||||
container_name: swift-storage1
|
||||
container_networks:
|
||||
management_address:
|
||||
address: "{{ ansible_host }}"
|
||||
|
Loading…
Reference in New Issue
Block a user