Adjust the title for the yum clean all action
This commit is contained in:
parent
5cd9700932
commit
ae876baf01
1 changed files with 8 additions and 2 deletions
|
@ -15,9 +15,15 @@
|
|||
|
||||
tasks:
|
||||
|
||||
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
|
||||
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
|
||||
- name: clean all metadata
|
||||
command: yum clean all
|
||||
always_run: yes
|
||||
when: not testing
|
||||
|
||||
- name: clean all metadata (w/ infrastructure-testing enabled)
|
||||
command: yum clean all --enablerepo=infrastructure-testing
|
||||
always_run: yes
|
||||
when: testing
|
||||
|
||||
- name: yum update {{ package }} from main repo
|
||||
yum: name="{{ package }}" state=latest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue