diff options
author | Russell Teague <rteague@redhat.com> | 2017-04-26 12:03:27 -0400 |
---|---|---|
committer | Russell Teague <rteague@redhat.com> | 2017-04-26 12:03:27 -0400 |
commit | 9f702600fa6abcae43c556d07149e3f5642cced1 (patch) | |
tree | d7d851eced56bbb92eabec2b58ff0f8f3612fe72 /roles | |
parent | 4a553433d13ebd13499b39a94f5d79968e1d8934 (diff) | |
download | openshift-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.yml | 2 | ||||
-rw-r--r-- | roles/openshift_node_upgrade/tasks/main.yml | 2 |
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 |