diff --git a/playbooks/update_packages.yml b/playbooks/update_packages.yml index 87f492f2a8..1aed1c6d73 100644 --- a/playbooks/update_packages.yml +++ b/playbooks/update_packages.yml @@ -15,9 +15,9 @@ 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 {%if testing%}(with infrastructure-testing on){%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} always_run: yes - - name: yum update {{package}} {% if testing %}(with infrastructure-testing on){% endif %} - yum: name={{package}} state=latest {% if testing %}enablerepo=infrastructure-testing{% endif %} + - name: yum update {{package}} {%if testing%}(with infrastructure-testing on){%endif%} + yum: name={{package}} state=latest {%if testing%}enablerepo=infrastructure-testing{%endif%}