Add "ansible_host" to each host

Changes to the lxc_container_create role caused the swift tests to begin
failing. The "Wait for ssh to be available" task requires an
"ansible_host" value, which was not set for the Swift test containers,
as a result this task continuously failed despite the containers being
up and accessible.

Change-Id: I69e8f9bbc0c0a69a24b4a4143c806ea10779f0b0
This commit is contained in:
Andy McCrae 2016-09-15 10:33:00 +01:00
parent 10d3ee9026
commit 0737337ee4
14 changed files with 14 additions and 0 deletions

View File

@ -14,6 +14,7 @@
# limitations under the License.
ansible_ssh_host: 10.1.1.101
ansible_host: 10.1.1.101
container_networks:
management_address:
address: "{{ ansible_ssh_host }}"

View File

@ -14,6 +14,7 @@
# limitations under the License.
ansible_ssh_host: 10.1.1.101
ansible_host: 10.1.1.101
container_networks:
management_address:
address: "{{ ansible_ssh_host }}"

View File

@ -14,6 +14,7 @@
# limitations under the License.
ansible_ssh_host: 10.1.11.101
ansible_host: 10.1.11.101
container_networks:
management_address:
address: "{{ ansible_ssh_host }}"

View File

@ -14,6 +14,7 @@
# limitations under the License.
ansible_ssh_host: 10.1.1.102
ansible_host: 10.1.1.102
storage_address: 10.1.2.102
container_networks:
management_address:

View File

@ -14,6 +14,7 @@
# limitations under the License.
ansible_ssh_host: 10.1.1.102
ansible_host: 10.1.1.102
storage_address: 10.1.2.102
container_networks:
management_address:

View File

@ -14,6 +14,7 @@
# limitations under the License.
ansible_ssh_host: 10.1.11.102
ansible_host: 10.1.11.102
storage_address: 10.1.12.102
container_networks:
management_address:

View File

@ -14,6 +14,7 @@
# limitations under the License.
ansible_ssh_host: 10.1.1.103
ansible_host: 10.1.1.103
storage_address: 10.1.2.103
replication_address: 10.1.3.103
container_networks:

View File

@ -14,6 +14,7 @@
# limitations under the License.
ansible_ssh_host: 10.1.1.104
ansible_host: 10.1.1.104
storage_address: 10.1.2.104
replication_address: 10.1.3.104
container_networks:

View File

@ -14,6 +14,7 @@
# limitations under the License.
ansible_ssh_host: 10.1.1.105
ansible_host: 10.1.1.105
storage_address: 10.1.2.105
replication_address: 10.1.3.105
container_networks:

View File

@ -14,6 +14,7 @@
# limitations under the License.
ansible_ssh_host: 10.1.1.106
ansible_host: 10.1.1.106
storage_address: 10.1.2.106
replication_address: 10.1.3.106
container_networks:

View File

@ -14,6 +14,7 @@
# limitations under the License.
ansible_ssh_host: 10.1.1.103
ansible_host: 10.1.1.103
storage_address: 10.1.2.103
replication_address: 10.1.3.103
container_networks:

View File

@ -14,6 +14,7 @@
# limitations under the License.
ansible_ssh_host: 10.1.1.104
ansible_host: 10.1.1.104
storage_address: 10.1.2.104
replication_address: 10.1.3.104
container_networks:

View File

@ -14,6 +14,7 @@
# limitations under the License.
ansible_ssh_host: 10.1.11.103
ansible_host: 10.1.11.103
storage_address: 10.1.12.103
replication_address: 10.1.13.103
container_networks:

View File

@ -14,6 +14,7 @@
# limitations under the License.
ansible_ssh_host: 10.1.11.104
ansible_host: 10.1.11.104
storage_address: 10.1.12.104
replication_address: 10.1.13.104
container_networks: