tripleo-quickstart-extras/playbooks/multinode-undercloud-upgrade.yml
wes hayutin b4e000cc6d Revert "Don't trigger repo injection if nothing was built"
This reverts commit 6fd5393cbd.

Closes-Bug: #1781752
Change-Id: I398980184f3c2ae2057b7cc5c56a6a1f42774be0
2018-07-14 23:44:57 +00:00

24 lines
710 B
YAML

- name: Configure next release repository in the undercloud
hosts: undercloud
tags:
- undercloud-upgrade
vars:
repo_setup_script: "repo-setup-{{ lookup('env', 'UPGRADE_RELEASE') }}.sh"
repo_setup_log: "repo-setup-{{ lookup('env', 'UPGRADE_RELEASE') }}.log"
repo_setup_run_update: false
dlrn_hash_path: ''
dlrn_hash_path_newest: ''
artg_compressed_gating_repo: "${HOME}/gating_repo.tar.gz"
roles:
- role: repo-setup
- role: build-test-packages
- { role: install-built-repo, when: compressed_gating_repo is defined }
- name: Run tripleo-upgrade role to upgrade undercloud
hosts: undercloud
tags:
- undercloud-upgrade
roles:
- role: tripleo-upgrade