Merge "Make host_alive checks match the expected host names"
This commit is contained in:
commit
5ae355785b
@ -9,7 +9,7 @@
|
|||||||
ping_timeout: 1
|
ping_timeout: 1
|
||||||
instances:
|
instances:
|
||||||
- name: mini-mon
|
- name: mini-mon
|
||||||
host_name: 192.168.10.4
|
host_name: mini-mon
|
||||||
alive_test: ssh
|
alive_test: ssh
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: apt-get update
|
- name: apt-get update
|
||||||
@ -24,6 +24,8 @@
|
|||||||
- libvirt-python
|
- libvirt-python
|
||||||
- mysql-python
|
- mysql-python
|
||||||
- python-novaclient
|
- python-novaclient
|
||||||
|
- name: Add mini-mon to hosts file
|
||||||
|
lineinfile: dest=/etc/hosts regexp="^{{ mini_mon }}" line="{{ mini_mon }} mini-mon" state=present
|
||||||
tasks:
|
tasks:
|
||||||
- name: Setup the monasca cli credentials in the default environment
|
- 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
|
copy: src=env.sh dest=/etc/profile.d/monasca_cli.sh owner=root group=root mode=0644
|
||||||
|
@ -42,8 +42,11 @@
|
|||||||
ping_timeout: 1
|
ping_timeout: 1
|
||||||
instances:
|
instances:
|
||||||
- name: devstack
|
- name: devstack
|
||||||
host_name: 192.168.10.5
|
host_name: devstack
|
||||||
alive_test: ssh
|
alive_test: ssh
|
||||||
|
pre_tasks:
|
||||||
|
- name: Add devstack to hosts file
|
||||||
|
lineinfile: dest=/etc/hosts regexp="^{{ devstack }}" line="{{ devstack }} devstack" state=present
|
||||||
tasks:
|
tasks:
|
||||||
- name: Setup the monasca cli credentials in the default environment
|
- 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
|
copy: src=env.sh dest=/etc/profile.d/monasca_cli.sh owner=root group=root mode=0644
|
||||||
|
Loading…
x
Reference in New Issue
Block a user