summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-04-26 12:03:27 -0400
committerRussell Teague <rteague@redhat.com>2017-04-26 12:03:27 -0400
commit9f702600fa6abcae43c556d07149e3f5642cced1 (patch)
treed7d851eced56bbb92eabec2b58ff0f8f3612fe72 /roles
parent4a553433d13ebd13499b39a94f5d79968e1d8934 (diff)
downloadopenshift-9f702600fa6abcae43c556d07149e3f5642cced1.tar.gz
openshift-9f702600fa6abcae43c556d07149e3f5642cced1.tar.bz2
openshift-9f702600fa6abcae43c556d07149e3f5642cced1.tar.xz
openshift-9f702600fa6abcae43c556d07149e3f5642cced1.zip
Add bool for proper conditional handling
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_node/tasks/main.yml2
-rw-r--r--roles/openshift_node_upgrade/tasks/main.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index 98139cac2..d7fea2f32 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -63,7 +63,7 @@
when:
- swap_result.stdout_lines | length > 0
- - openshift_disable_swap | default(true)
+ - openshift_disable_swap | default(true) | bool
# End Disable Swap Block
# We have to add tuned-profiles in the same transaction otherwise we run into depsolving
diff --git a/roles/openshift_node_upgrade/tasks/main.yml b/roles/openshift_node_upgrade/tasks/main.yml
index e725f4a5d..94c97d0a5 100644
--- a/roles/openshift_node_upgrade/tasks/main.yml
+++ b/roles/openshift_node_upgrade/tasks/main.yml
@@ -124,7 +124,7 @@
when:
- swap_result.stdout_lines | length > 0
- - openshift_disable_swap | default(true)
+ - openshift_disable_swap | default(true) | bool
# End Disable Swap Block
# Restart all services