diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-12-18 16:49:05 -0500 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2018-01-17 13:32:12 -0500 |
commit | 9a02a7a96d4de691e1f265e88ff4d5ee3f0b7244 (patch) | |
tree | 5282a31fdb6cc85df5a41dd155001e54b834fb1e /roles/openshift_excluder/tasks | |
parent | da12b2c603eea973466c47b5d6d668ddea6b05fd (diff) | |
download | openshift-9a02a7a96d4de691e1f265e88ff4d5ee3f0b7244.tar.gz openshift-9a02a7a96d4de691e1f265e88ff4d5ee3f0b7244.tar.bz2 openshift-9a02a7a96d4de691e1f265e88ff4d5ee3f0b7244.tar.xz openshift-9a02a7a96d4de691e1f265e88ff4d5ee3f0b7244.zip |
Exclude 3.9 packages during 3.8 upgrade
There are some obsoletes in 3.9 packages which lead yum to upgrade
directly from 3.7 to 3.9 when you ask for 3.8 packages while 3.9 repos
are enabled. Since we'd like to allow people to run one playbook to
upgrade from 3.7 to 3.8 to 3.9 we need to exclude those packages when
upgrading to 3.8
Diffstat (limited to 'roles/openshift_excluder/tasks')
-rw-r--r-- | roles/openshift_excluder/tasks/verify_excluder.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_excluder/tasks/verify_excluder.yml b/roles/openshift_excluder/tasks/verify_excluder.yml index 4f5277fa2..22a3fcd3b 100644 --- a/roles/openshift_excluder/tasks/verify_excluder.yml +++ b/roles/openshift_excluder/tasks/verify_excluder.yml @@ -3,7 +3,7 @@ # - excluder - name: Get available excluder version repoquery: - name: "{{ excluder }}" + name: "{{ excluder }}{{ '-' ~ r_openshift_excluder_upgrade_target.split('.')[0:2] | join('.') ~ '*' if r_openshift_excluder_upgrade_target is defined else '' }}" ignore_excluders: true register: repoquery_out |