diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml index 7e9cb02d4c..736f7493ba 100644 --- a/tasks/yumrepos.yml +++ b/tasks/yumrepos.yml @@ -64,7 +64,7 @@ - yumrepos - name: add infrastructure repo - copy: src="{{ files }}/common/{{ item }}" dest="/etc/yum.repos.d/{{ item }}" + file: path="/etc/yum.repos.d/{{ item }}" state=absent with_items: - infrastructure.repo - infrastructure-testing.repo