Adjust the title for the yum clean all action

This commit is contained in:
Pierre-Yves Chibon 2015-01-12 16:20:35 +01:00
parent 5cd9700932
commit ae876baf01

View file

@ -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