05b5b272f3
Previously when the gating repo was enabled, we would blindly yum update with the repo. This probably shouldn't be the case as we should just be installing or updating the new packages after the repo has been installed. However to maintain backwards compatibility, a new variable called ib_gating_repo_update has been created with the default of True. To disable the yum update after isntalling built repo, set this to false. Change-Id: I5172134738b5b3d5146e45f1e0a7720b6e1d5a2c Closes-Bug: #1796639
28 lines
960 B
YAML
28 lines
960 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"
|
|
# This should not be enabled because the updating of the packages occurs
|
|
# durring the upgrade process. For general installation it's ok to have
|
|
# this enabled, but this needs to be disabled for upgrades
|
|
ib_gating_repo_update: false
|
|
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
|