summaryrefslogtreecommitdiffstats
path: root/roles/yum_repos/tasks
diff options
context:
space:
mode:
authorJoel Diaz <jdiaz@redhat.com>2016-04-08 13:48:13 -0400
committerJoel Diaz <jdiaz@redhat.com>2016-04-15 09:35:54 -0400
commit3681ab5fb2a39ccb06024e6ad514ad50df21f9d2 (patch)
tree5d1dd7da5404f431a60241a419155204a7784dcc /roles/yum_repos/tasks
parent51e390459d7eda90c44d9ffd7f1199a3590beac1 (diff)
downloadopenshift-3681ab5fb2a39ccb06024e6ad514ad50df21f9d2.tar.gz
openshift-3681ab5fb2a39ccb06024e6ad514ad50df21f9d2.tar.bz2
openshift-3681ab5fb2a39ccb06024e6ad514ad50df21f9d2.tar.xz
openshift-3681ab5fb2a39ccb06024e6ad514ad50df21f9d2.zip
cleanup roles after roles move to openshift-tools
also removing inventory/multi_inventory* things left behind unchanged even though they were copied: playbooks/adhoc/* roles/dns roles/kube_nfs_volumes roles/os_update_latest
Diffstat (limited to 'roles/yum_repos/tasks')
-rw-r--r--roles/yum_repos/tasks/main.yml48
1 files changed, 0 insertions, 48 deletions
diff --git a/roles/yum_repos/tasks/main.yml b/roles/yum_repos/tasks/main.yml
deleted file mode 100644
index 46928a00b..000000000
--- a/roles/yum_repos/tasks/main.yml
+++ /dev/null
@@ -1,48 +0,0 @@
----
-# Convert old params to new params
-- set_fact:
- repo_files:
- - id: "{{ repo_tag }}"
- repos:
- - id: "{{ repo_tag }}"
- name: "{{ repo_name }}"
- baseurl: "{{ repo_baseurl }}"
- enabled: "{{ repo_enabled }}"
- gpgcheck: "{{ repo_gpg_check | default(repo_gpgcheck) }}"
- sslverify: "{{ repo_sslverify | default(None) }}"
- sslclientcert: "{{ repo_sslclientcert | default(None) }}"
- sslclientkey: "{{ repo_sslclientkey | default(None) }}"
- gpgkey: "{{ repo_gpgkey | default(None) }}"
- when: repo_files is not defined
-
-- name: Verify repo_files is a list
- assert:
- that:
- - repo_files is iterable and repo_files is not string and repo_files is not mapping
-
-- name: Verify repo_files items have an id and a repos list
- assert:
- that:
- - item is mapping
- - "'id' in item"
- - "'repos' in item"
- - item.repos is iterable and item.repos is not string and item.repos is not mapping
- with_items: repo_files
-
-- name: Verify that repo_files.repos have the required keys
- assert:
- that:
- - item.1 is mapping
- - "'id' in item.1"
- - "'name' in item.1"
- - "'baseurl' in item.1"
- with_subelements:
- - repo_files
- - repos
-
-- name: Installing yum-repo template
- template:
- src: yumrepo.j2
- dest: /etc/yum.repos.d/{{ item.id }}.repo
- with_items: repo_files
- when: not openshift.common.is_containerized | bool