From 964c2faf2cfb00b6a0b8384efd8f939358332caa Mon Sep 17 00:00:00 2001 From: rajeshP524 Date: Wed, 17 Aug 2022 15:30:53 +0530 Subject: [PATCH] fix osp17 inventory file overcloud group is not present in the OSP-17 inventory file, adding it manually Change-Id: I232098eeb9f5a66f35c6dca3f99e22b027dc96af --- ansible/generate_tripleo_inventory.sh | 1 + browbeat-config.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/generate_tripleo_inventory.sh b/ansible/generate_tripleo_inventory.sh index 927466eea..11161d0ce 100755 --- a/ansible/generate_tripleo_inventory.sh +++ b/ansible/generate_tripleo_inventory.sh @@ -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} diff --git a/browbeat-config.yaml b/browbeat-config.yaml index bed6ec9dc..a745d5b0b 100644 --- a/browbeat-config.yaml +++ b/browbeat-config.yaml @@ -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