90bb494647
This commit sets the variables for network creation to the appropriate values. Since the network details are internal, this CI variables file is being moved to internal git. Change-Id: Ib55d2896991c74562f01e3cc56117af7110dc403
25 lines
806 B
YAML
25 lines
806 B
YAML
- name: Template undercloud only hosts file
|
|
template:
|
|
"src=hosts.j2 \
|
|
dest={{ ansible_env.HOME }}/browbeat/ansible/hosts"
|
|
|
|
- name: Template ssh-config
|
|
template:
|
|
"src=ssh-config.j2 \
|
|
dest={{ ansible_env.HOME }}/browbeat/ansible/ssh-config"
|
|
|
|
- name: Install CollectD
|
|
shell:
|
|
"cd {{ ansible_env.HOME }}/browbeat/ansible; \
|
|
ansible-playbook -i hosts -c local \
|
|
--extra-vars graphite_host={{ graphite_host_template }} \
|
|
--extra-vars graphite_prefix={{ graphite_prefix_template }} \
|
|
install/collectd-openstack.yml \
|
|
> {{ ansible_env.HOME }}/browbeat/results/collecd_install.log"
|
|
register: collectd_install
|
|
until: collectd_install.rc == 0
|
|
retries: 2
|
|
delay: 60
|
|
environment:
|
|
ANSIBLE_SSH_ARGS: "-F {{ ansible_env.HOME }}/browbeat/ansible/ssh-config"
|