Browse Source

Merge pull request #4017 from mtnbikenc/fix-swap

Merged by openshift-bot
OpenShift Bot 8 years ago
parent
commit
15f3213dba

+ 1 - 1
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

+ 1 - 1
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