diff --git a/tests/group_vars/all_containers.yml b/tests/group_vars/all_containers.yml index 4cc97942..83ce0212 100644 --- a/tests/group_vars/all_containers.yml +++ b/tests/group_vars/all_containers.yml @@ -13,7 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -ansible_ssh_host: "{{ ansible_host }}" container_name: "{{ inventory_hostname }}" container_networks: management_address: diff --git a/tests/inventory b/tests/inventory index 656b0f9c..5d4c5ff5 100644 --- a/tests/inventory +++ b/tests/inventory @@ -1,8 +1,8 @@ [all] localhost ansible_connection=local ansible_become=True -infra1 ansible_host=10.100.100.2 ansible_become=True ansible_user=root -keystone1 ansible_host=10.100.100.3 ansible_become=True ansible_user=root -keystone2 ansible_host=10.100.100.4 ansible_become=True ansible_user=root +infra1 ansible_ssh_host=10.100.100.2 ansible_host=10.100.100.2 ansible_become=True ansible_user=root +keystone1 ansible_ssh_host=10.100.100.3 ansible_host=10.100.100.3 ansible_become=True ansible_user=root +keystone2 ansible_ssh_host=10.100.100.4 ansible_host=10.100.100.4 ansible_become=True ansible_user=root [all_containers] infra1 diff --git a/tests/test-prepare-containers.yml b/tests/test-prepare-containers.yml index cf46e8ab..c0d539ea 100644 --- a/tests/test-prepare-containers.yml +++ b/tests/test-prepare-containers.yml @@ -15,7 +15,6 @@ - name: Playbook for creating containers hosts: all_containers - connection: local gather_facts: false roles: - role: "lxc_container_create"