diff options
| -rw-r--r-- | roles/openshift_node/tasks/main.yml | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml index 87b1f6537..6c3d10134 100644 --- a/roles/openshift_node/tasks/main.yml +++ b/roles/openshift_node/tasks/main.yml @@ -2,9 +2,9 @@  # TODO: allow for overriding default ports where possible  - fail:      msg: "SELinux is disabled, This deployment type requires that SELinux is enabled." -  when: > -    (not ansible_selinux or ansible_selinux.status != 'enabled') and -    deployment_type in ['enterprise', 'online', 'atomic-enterprise', 'openshift-enterprise'] +  when: +    - (not ansible_selinux or ansible_selinux.status != 'enabled') and deployment_type in ['enterprise', 'online', 'atomic-enterprise', 'openshift-enterprise'] +    - not openshift_docker_use_crio | default(false)  # https://docs.openshift.com/container-platform/3.4/admin_guide/overcommit.html#disabling-swap-memory  - name: Check for swap usage | 
