Skip to content

Commit

Permalink
Merge pull request #188 from mvdbeek/precreate_directories
Browse files Browse the repository at this point in the history
Precreate directories
  • Loading branch information
hexylena committed Apr 13, 2023
2 parents 898d006 + a081215 commit 2ac5e3a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tasks/static_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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_config_files + galaxy_config_templates) | map(attribute='dest') | map('dirname') | unique }}"

- name: Install additional Galaxy config files (static)
copy:
src: "{{ item.src }}"
Expand Down

0 comments on commit 2ac5e3a

Please sign in to comment.