fix osp17 inventory file
overcloud group is not present in the OSP-17 inventory file, adding it manually Change-Id: I232098eeb9f5a66f35c6dca3f99e22b027dc96af
This commit is contained in:
parent
da7b97c08a
commit
964c2faf2c
@ -47,6 +47,7 @@ version=$(grep -o 17 /etc/rhosp-release)
|
||||
|
||||
if [ "$version" = "17" ]; then
|
||||
cp ~/overcloud-deploy/overcloud/tripleo-ansible-inventory.yaml ${out_file}
|
||||
sed -i '$aovercloud:\n children:\n allovercloud: {}' ${out_file}
|
||||
elif ([ $uncomment_localhost ] && [ "$version" != "17" ]); then
|
||||
source ~/stackrc
|
||||
tripleo-ansible-inventory --stack ${overcloud_stack_name} --static-yaml-inventory ${out_file}
|
||||
|
@ -21,7 +21,7 @@ ansible:
|
||||
start_collectd_playbook: ansible/install/start-collectd.yml
|
||||
stop_collectd_playbook: ansible/install/stop-collectd.yml
|
||||
check_collectd_config_playbook: ansible/install/check-collectd-config.yml
|
||||
ssh_config: ansible/ssh-config
|
||||
ssh_config: /home/stack/.ssh/config
|
||||
elasticsearch:
|
||||
enabled: false
|
||||
host: 1.1.1.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user