Skip to content

Commit

Permalink
add step for creating directories
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Sep 5, 2024
1 parent f4ba5dc commit 4a35efb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions roles/create_cvmfs_content_structure/tasks/do_repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@

- name: Apply changes to CVMFS repository, if there are any
block:
- name: "Create directories"
ansible.builtin.file:
path: "/cvmfs/{{ cvmfs_repo }}/{{ item.name }}"
state: directory
mode: "{{ item.mode }}"
with_items: "{{ directories }}"
register: create_directories

- name: "Create symlinks"
ansible.builtin.file:
path: "/cvmfs/{{ cvmfs_repo }}/{{ item }}"
Expand Down

0 comments on commit 4a35efb

Please sign in to comment.