diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4c15c83f492f0ed69a8fdff95c6a89808482b2f6..cace5d74f0d6286c11ff8627d52fc21883b79251 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -312,4 +312,4 @@ ansible_check: - ANSIBLE_STDOUT_CALLBACK=json ansible-playbook -i files/inventory.$STACKNAME --key-file ./gc_key.pem --check computenodes.yml --limit ComputeNodes --skip-tags=SiteSpecific --tags=ColdChange > compute_ansible_check.log - python3 ../../scripts/check_summary.py outputChangedNodeList | tee computeColdChanged.yml - export targetIP=`./files/inventory.$STACKNAME | python ../../scripts/extractIPfromInventory.py CICD_HPCasCode_autoupdate-mgmtU0` - - scp -i ../../gc_key.pem *Changed.yml ubuntu@targetIP:/local_home/ubuntu + - scp -i ../../gc_key.pem *Changed.yml ubuntu@${targetIP}:/local_home/ubuntu