summaryrefslogtreecommitdiffstats
path: root/roles/openshift-prep/tasks/prerequisites.yml
diff options
context:
space:
mode:
authorTlacenka <tlacencin@gmail.com>2017-07-19 17:40:53 +0200
committerTomas Sedovic <tomas@sedovic.cz>2017-07-19 17:40:53 +0200
commit244d4f2347526e6e7428e81f882793aaca75a770 (patch)
tree8d2253d1131320754ef23b098d8e23adc84f418c /roles/openshift-prep/tasks/prerequisites.yml
parentd6c06b1bb0c07e5dd107538af4d2b3e4b575a3cd (diff)
downloadopenshift-244d4f2347526e6e7428e81f882793aaca75a770.tar.gz
openshift-244d4f2347526e6e7428e81f882793aaca75a770.tar.bz2
openshift-244d4f2347526e6e7428e81f882793aaca75a770.tar.xz
openshift-244d4f2347526e6e7428e81f882793aaca75a770.zip
During provisioning, make unnecessary packages optional under a switch (#561)
* openshift-prep: bash-completion and vim-enhanced packages are now optional under install_debug_packages switch * openshift-prep: new line removal
Diffstat (limited to 'roles/openshift-prep/tasks/prerequisites.yml')
-rw-r--r--roles/openshift-prep/tasks/prerequisites.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/openshift-prep/tasks/prerequisites.yml b/roles/openshift-prep/tasks/prerequisites.yml
index 433c1c4e3..b7601aa48 100644
--- a/roles/openshift-prep/tasks/prerequisites.yml
+++ b/roles/openshift-prep/tasks/prerequisites.yml
@@ -9,6 +9,13 @@
with_items: "{{ required_packages }}"
when: manage_packages|bool
+- name: "Install debug packages (optional)"
+ yum:
+ name: "{{ item }}"
+ state: latest
+ with_items: "{{ debug_packages }}"
+ when: install_debug_packages|bool
+
- name: "Update all packages (this can take a very long time)"
yum:
name: '*'