summaryrefslogtreecommitdiffstats
path: root/roles/yum_repos/defaults
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-04-09 12:58:43 -0400
committerJason DeTiberus <jdetiber@redhat.com>2015-04-09 15:17:21 -0400
commitf28ff57f98140a1a22423df34d6457ee669fe714 (patch)
tree6b4e1c58be1f2929e838d9300f1518508120c26a /roles/yum_repos/defaults
parent1ccff35b334a45f5037f7965a906b5f1ac8d893d (diff)
downloadopenshift-f28ff57f98140a1a22423df34d6457ee669fe714.tar.gz
openshift-f28ff57f98140a1a22423df34d6457ee669fe714.tar.bz2
openshift-f28ff57f98140a1a22423df34d6457ee669fe714.tar.xz
openshift-f28ff57f98140a1a22423df34d6457ee669fe714.zip
refactor yum_repo role to handle multiple repos/files
- Rename yum_repo role to yum_repos - Update yum_repos to take a more complex datastructure to describe multiple repo files and multiple repos within those files - Update the template to support multiple repos within the repo file - Update the template to allow for any key, value pair passed in instead of a hard coded list. - Add assertions to verify the repo_files variable is properly defined - Convert the legacy variables to the new repo_files variable
Diffstat (limited to 'roles/yum_repos/defaults')
-rw-r--r--roles/yum_repos/defaults/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/yum_repos/defaults/main.yml b/roles/yum_repos/defaults/main.yml
new file mode 100644
index 000000000..515fb7a4a
--- /dev/null
+++ b/roles/yum_repos/defaults/main.yml
@@ -0,0 +1,3 @@
+---
+repo_enabled: 1
+repo_gpgcheck: 1