diff --git a/tasks/local-path.yml b/tasks/local-path.yml index 68aea8c..3843727 100644 --- a/tasks/local-path.yml +++ b/tasks/local-path.yml @@ -36,7 +36,7 @@ state: "{{ storage_localpath_state }}" context: "{{ my_context }}" namespace: "{{ storage_localpath_namespace }}" - merge_type: merge + apply: true resource_definition: "{{ lookup('file', 'local-path/' + item) | from_yaml }}" with_items: - "{{ storage_localpath_files_list }}" @@ -65,7 +65,7 @@ name: local-path-provisioner nodePathMap: - node: DEFAULT_PATH_FOR_NON_LISTED_NODES - paths: [/mnt/local] + paths: ["{{ storage_localpath_default_path }}"] tags: - storage - local-path