diff --git a/tasks/mutable_setup.yml b/tasks/mutable_setup.yml index d01a394..6cf5310 100644 --- a/tasks/mutable_setup.yml +++ b/tasks/mutable_setup.yml @@ -8,6 +8,14 @@ include_tasks: _inc_galaxy_version.yml when: __galaxy_major_version is undefined + - name: Create directories for config files + ansible.builtin.file: + state: directory + path: "{{ item }}" + mode: "{{ __galaxy_dir_perms }}" + group: "{{ __galaxy_user_group }}" + loop: "{{ (galaxy_mutable_config_files + galaxy_mutable_config_templates) | map(attribute='dest') | map('dirname') | unique }}" + # force: no in the following 2 tasks will not overwrite existing configs - name: Instantiate mutable configuration files copy: