summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas/tasks/volume.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ands_kaas/tasks/volume.yml')
-rw-r--r--roles/ands_kaas/tasks/volume.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/roles/ands_kaas/tasks/volume.yml b/roles/ands_kaas/tasks/volume.yml
index 2c695f2..d6e99e7 100644
--- a/roles/ands_kaas/tasks/volume.yml
+++ b/roles/ands_kaas/tasks/volume.yml
@@ -24,7 +24,7 @@
group: "{{ volume.group | default(kaas_project_config.file_group) | default(default_group) }}"
register: chmod
when:
- - mkdir | changed
+ - mkdir is changed
- kaas_openshift_gid_ranges[kaas_project] is defined
- osvpath[:1] != "/"
@@ -41,19 +41,19 @@
owner: "{{ volume.owner | default(kaas_project_config.file_owner) | default(kaas_default_file_owner) }}"
group: "{{ volume.group | default(kaas_project_config.file_group) | default(kaas_default_file_group) }}"
when:
- - mkdir | changed
- - chmod | skipped
+ - mkdir is changed
+ - chmod is skipped
- name: "Setting SELinux context for non standard locations"
sefcontext: target="{{ hostpath }}" setype="svirt_sandbox_file_t" state="present" reload="yes"
when:
- - mkdir | changed
- - chmod | skipped
+ - mkdir is changed
+ - chmod is skipped
- voltype[0] == "host"
- name: "Apply SELinux context for non standard locations"
shell: restorecon "{{ hostpath }}"
when:
- - mkdir | changed
- - chmod | skipped
+ - mkdir is changed
+ - chmod is skipped
- voltype[0] == "host"