summaryrefslogtreecommitdiffstats
path: root/deployment/playbooks/roles/docker-storage-setup/tasks/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/playbooks/roles/docker-storage-setup/tasks/main.yaml')
-rw-r--r--deployment/playbooks/roles/docker-storage-setup/tasks/main.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/deployment/playbooks/roles/docker-storage-setup/tasks/main.yaml b/deployment/playbooks/roles/docker-storage-setup/tasks/main.yaml
index 3736797c..70c04802 100644
--- a/deployment/playbooks/roles/docker-storage-setup/tasks/main.yaml
+++ b/deployment/playbooks/roles/docker-storage-setup/tasks/main.yaml
@@ -3,7 +3,7 @@
file:
path: /etc/sysconfig/docker-storage
state: absent
- when: not (openshift_use_crio | bool)
+ when: not (openshift_use_crio | default(false) | bool)
- block:
- name: create the docker-storage config file
@@ -16,7 +16,7 @@
when:
- ansible_distribution_version | version_compare('7.4', '>=')
- ansible_distribution == "RedHat"
- - not (openshift_use_crio | bool)
+ - not (openshift_use_crio | default(false) | bool)
- block:
- name: create the docker-storage-setup config file
@@ -29,11 +29,11 @@
when:
- ansible_distribution_version | version_compare('7.4', '<')
- ansible_distribution == "RedHat"
- - not (openshift_use_crio | bool)
+ - not (openshift_use_crio | default(false) | bool)
- name: start docker
service:
name: docker
state: started
enabled: true
- when: not (openshift_use_crio | bool)
+ when: not (openshift_use_crio | default(false) | bool)