Merge "Make host_alive checks match the expected host names"

This commit is contained in:
Jenkins 2015-07-31 18:55:17 +00:00 committed by Gerrit Code Review
commit 5ae355785b
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