Skip to content

Commit

Permalink
Fix role failing on Squid task "Create the cache directories for the …
Browse files Browse the repository at this point in the history
…first time"

This is a simpler solution than that from f220483. In fact, the cause of the problem was just a typo (see changes and docs for ansible.builtin.command).
  • Loading branch information
kysrpex committed Jun 28, 2023
1 parent 58679a5 commit 13fbd03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/squid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
become_user: "{{ cvmfs_squid_user }}"
ansible.builtin.command: squid -z
args:
creates: "{{ cvmfs_stratum1_cache_dir }}/00"
creates: "{{ cvmfs_stratum1_cache_dir.dir }}/00"
when: cvmfs_stratum1_cache_dir is defined

- name: Ensure squid is enabled and started
Expand Down

0 comments on commit 13fbd03

Please sign in to comment.