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:
rajeshP524 2022-08-17 15:30:53 +05:30
parent da7b97c08a
commit 964c2faf2c
2 changed files with 2 additions and 1 deletions

View File

@ -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}

View 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