Make host_alive checks match the expected host names

Change-Id: I53d52c2d4a882da6275a58b479787e74aa31c1e6
This commit is contained in:
Tim Kuhlman 2015-07-30 17:03:25 -06:00
parent adadcec5f8
commit 796a256bba
2 changed files with 7 additions and 2 deletions

View File

@ -9,7 +9,7 @@
ping_timeout: 1
instances:
- name: mini-mon
host_name: 192.168.10.4
host_name: mini-mon
alive_test: ssh
pre_tasks:
- name: apt-get update
@ -24,6 +24,8 @@
- libvirt-python
- mysql-python
- python-novaclient
- name: Add mini-mon to hosts file
lineinfile: dest=/etc/hosts regexp="^{{ mini_mon }}" line="{{ mini_mon }} mini-mon" state=present
tasks:
- name: Setup the monasca cli credentials in the default environment
copy: src=env.sh dest=/etc/profile.d/monasca_cli.sh owner=root group=root mode=0644

View File

@ -42,8 +42,11 @@
ping_timeout: 1
instances:
- name: devstack
host_name: 192.168.10.5
host_name: devstack
alive_test: ssh
pre_tasks:
- name: Add devstack to hosts file
lineinfile: dest=/etc/hosts regexp="^{{ devstack }}" line="{{ devstack }} devstack" state=present
tasks:
- name: Setup the monasca cli credentials in the default environment
copy: src=env.sh dest=/etc/profile.d/monasca_cli.sh owner=root group=root mode=0644