summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Pretorius <jesse.pretorius@rackspace.co.uk>2018-10-22 12:06:12 +0100
committerJesse Pretorius (odyssey4me) <jesse.pretorius@rackspace.co.uk>2018-10-22 11:10:27 +0000
commit1bb6c23ab04a184c104220e22a7ab607102603b2 (patch)
treee7ac6b8ef6c4bcc0c868b0632abd419ac3066a3e
parentfcd620e7881fe095f24b84ba543d04259751861d (diff)
Set container_name as host_var in test inventoryHEADmaster
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. In this role's case there are no containers, so I've just removed the group_var so that the test setup is uniform with other roles which do use containers. Change-Id: Ifde552c38d219ede46f3c4c8091e38048205d02f
Notes
Notes (review): Code-Review+2: Jean-Philippe Evrard <jean-philippe@evrard.me> Code-Review+2: Jonathan Rosser <jonathan.rosser@rd.bbc.co.uk> Workflow+1: Jonathan Rosser <jonathan.rosser@rd.bbc.co.uk> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 24 Oct 2018 07:17:07 +0000 Reviewed-on: https://review.openstack.org/612343 Project: openstack/ansible-role-systemd_networkd Branch: refs/heads/master
-rw-r--r--tests/group_vars/all_containers.yml1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/group_vars/all_containers.yml b/tests/group_vars/all_containers.yml
index fdb0a84..99b8fa2 100644
--- a/tests/group_vars/all_containers.yml
+++ b/tests/group_vars/all_containers.yml
@@ -13,7 +13,6 @@
13# See the License for the specific language governing permissions and 13# See the License for the specific language governing permissions and
14# limitations under the License. 14# limitations under the License.
15 15
16container_name: "{{ inventory_hostname }}"
17container_networks: 16container_networks:
18 management_address: 17 management_address:
19 address: "{{ ansible_host }}" 18 address: "{{ ansible_host }}"