summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/defaults
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-10-12 15:34:15 -0400
committerMichael Gugino <mgugino@redhat.com>2017-10-12 15:34:15 -0400
commit3442745ebc9f1e272cdb08bfd07655b7ba8414e7 (patch)
treed7ca1421a6d128fae28bd1d5db3606855ea9eba1 /roles/openshift_node/defaults
parente3c8b0065af5c7ecfc3746e65620ba7db0ebcf0e (diff)
downloadopenshift-3442745ebc9f1e272cdb08bfd07655b7ba8414e7.tar.gz
openshift-3442745ebc9f1e272cdb08bfd07655b7ba8414e7.tar.bz2
openshift-3442745ebc9f1e272cdb08bfd07655b7ba8414e7.tar.xz
openshift-3442745ebc9f1e272cdb08bfd07655b7ba8414e7.zip
Add ability to set node and master imageConfig to latest
Currently, imageConfig.latest is hard-coded to false. This commit adds an appropriate boolean to enable setting to true. Fixes: https://github.com/openshift/openshift-ansible/issues/1422
Diffstat (limited to 'roles/openshift_node/defaults')
-rw-r--r--roles/openshift_node/defaults/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_node/defaults/main.yml b/roles/openshift_node/defaults/main.yml
index 298d1013f..739b0d968 100644
--- a/roles/openshift_node/defaults/main.yml
+++ b/roles/openshift_node/defaults/main.yml
@@ -107,3 +107,6 @@ openshift_node_use_contiv: "{{ openshift_node_use_contiv_default }}"
openshift_node_data_dir_default: "{{ openshift_data_dir | default('/var/lib/origin') }}"
openshift_node_data_dir: "{{ openshift_node_data_dir_default }}"
+
+openshift_node_image_config_latest_default: "{{ openshift_image_config_latest | default(False) }}"
+openshift_node_image_config_latest: "{{ openshift_node_image_config_latest_default }}"