From 13fbd036ad1a11b1a0853abdd02142edb87d728b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Manuel=20Dom=C3=ADnguez?= Date: Wed, 28 Jun 2023 08:53:41 +0200 Subject: [PATCH] Fix role failing on Squid task "Create the cache directories for the 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). --- tasks/squid.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/squid.yml b/tasks/squid.yml index b994e61..7930ecf 100644 --- a/tasks/squid.yml +++ b/tasks/squid.yml @@ -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