Przeglądaj źródła

Remove old /etc/yum.repos.d/openshift_additional.repo file.

Andrew Butcher 7 lat temu
rodzic
commit
2e146b9eac
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      roles/openshift_repos/tasks/main.yaml

+ 5 - 0
roles/openshift_repos/tasks/main.yaml

@@ -10,6 +10,11 @@
   - name: Ensure libselinux-python is installed
     package: name=libselinux-python state=present
 
+  - name: Remove openshift_additional.repo file
+    file:
+      dest: /etc/yum.repos.d/openshift_additional.repo
+      state: absent
+
   - name: Create any additional repos that are defined
     yum_repository:
       description: "{{ item.description | default(item.name | default(item.id)) }}"