diff options
author | John T Skarbek <jtslear@gmail.com> | 2015-12-03 22:37:33 -0500 |
---|---|---|
committer | John T Skarbek <jtslear@gmail.com> | 2015-12-09 18:27:58 -0500 |
commit | 9fc1e7ac3e066add840be7691a9647f6157afe27 (patch) | |
tree | ac48f00fe5602dc3e9ea12b85431560057dc4aac /roles/openshift_facts/library | |
parent | bc10731cb98eb4169c430de24044783c7c5183cd (diff) | |
download | openshift-9fc1e7ac3e066add840be7691a9647f6157afe27.tar.gz openshift-9fc1e7ac3e066add840be7691a9647f6157afe27.tar.bz2 openshift-9fc1e7ac3e066add840be7691a9647f6157afe27.tar.xz openshift-9fc1e7ac3e066add840be7691a9647f6157afe27.zip |
Make the install of openshift_examples optional
* Allows us to make it optional to run the role `openshift_examples`
* Defaults to true
Diffstat (limited to 'roles/openshift_facts/library')
-rwxr-xr-x | roles/openshift_facts/library/openshift_facts.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py index 8b3402729..e557853b1 100755 --- a/roles/openshift_facts/library/openshift_facts.py +++ b/roles/openshift_facts/library/openshift_facts.py @@ -1057,6 +1057,7 @@ class OpenShiftFacts(object): common['client_binary'] = 'oc' if os.path.isfile('/usr/bin/oc') else 'osc' common['admin_binary'] = 'oadm' if os.path.isfile('/usr/bin/oadm') else 'osadm' common['dns_domain'] = 'cluster.local' + common['install_examples'] = True defaults['common'] = common if 'master' in roles: |