diff options
author | Scott Dodson <sdodson@redhat.com> | 2018-01-24 22:04:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-24 22:04:24 -0500 |
commit | 302a49e0aaa737f5fe3ecebe807cefee28916a09 (patch) | |
tree | 0c923464f9e23cc6f7b8d95b4aab339deddcf415 /roles/openshift_node/tasks/upgrade_pre.yml | |
parent | 91d82a4acac88f7361bb9c82b9f94d2f53fb8c1e (diff) | |
parent | 8c722ed8f5d986e465b1e95f31faa2a733af4715 (diff) | |
download | openshift-302a49e0aaa737f5fe3ecebe807cefee28916a09.tar.gz openshift-302a49e0aaa737f5fe3ecebe807cefee28916a09.tar.bz2 openshift-302a49e0aaa737f5fe3ecebe807cefee28916a09.tar.xz openshift-302a49e0aaa737f5fe3ecebe807cefee28916a09.zip |
Merge pull request #6551 from mgugino-upstream-stage/swapoff
Create swapoff module
Diffstat (limited to 'roles/openshift_node/tasks/upgrade_pre.yml')
-rw-r--r-- | roles/openshift_node/tasks/upgrade_pre.yml | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/roles/openshift_node/tasks/upgrade_pre.yml b/roles/openshift_node/tasks/upgrade_pre.yml index 3ae7dc6b6..aa1a75100 100644 --- a/roles/openshift_node/tasks/upgrade_pre.yml +++ b/roles/openshift_node/tasks/upgrade_pre.yml @@ -41,16 +41,3 @@ vars: openshift_version: "{{ openshift_pkg_version | default('') }}" when: not openshift_is_containerized | bool - -# https://docs.openshift.com/container-platform/3.4/admin_guide/overcommit.html#disabling-swap-memory -- name: Check for swap usage - command: grep "^[^#].*swap" /etc/fstab - # grep: match any lines which don't begin with '#' and contain 'swap' - changed_when: false - failed_when: false - register: swap_result - -# Set this fact here so we can use it during the next play, which is serial. -- name: set_fact swap_result - set_fact: - openshift_node_upgrade_swap_result: "{{ swap_result.stdout_lines | length > 0 | bool }}" |