Adjust the update-packages playbook for the infrastructure-tags-stg repo
This commit is contained in:
parent
d2fa8a904b
commit
d434e8d6c9
1 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@
|
|||
when: not testing and ansible_distribution_major_version|int < 22
|
||||
|
||||
- name: yum update {{ package }} from testing repo
|
||||
yum: name="{{ package }}" state=latest enablerepo=infrastructure-testing update_cache=yes
|
||||
yum: name="{{ package }}" state=latest enablerepo=infrastructure-tags-stg update_cache=yes
|
||||
when: testing and ansible_distribution_major_version|int < 22
|
||||
|
||||
- name: dnf clean all (since we can't do it when updating)
|
||||
|
@ -32,10 +32,10 @@
|
|||
when: not testing and ansible_distribution_major_version|int > 21
|
||||
|
||||
- name: dnf clean all (since we can't do it when updating)
|
||||
command: dnf clean all --enablerepo=infrastructure-testing
|
||||
command: dnf clean all --enablerepo=infrastructure-tags-stg
|
||||
when: testing and ansible_distribution_major_version|int > 21
|
||||
|
||||
- name: dnf update {{ package }} from testing repo
|
||||
dnf: name="{{ package }}" state=latest enablerepo=infrastructure-testing
|
||||
dnf: name="{{ package }}" state=latest enablerepo=infrastructure-tags-stg
|
||||
when: testing and ansible_distribution_major_version|int > 21
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue