From 44a3fd4bc58e34e9c6f436d7b5e258feef85e0d9 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 7 Feb 2021 16:14:56 +0000 Subject: [PATCH] Only chown when the repos change This keeps claiming it's changing things, even when nothing should have changed --- ansible/roles/pve_docker/tasks/tt-rss.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/roles/pve_docker/tasks/tt-rss.yml b/ansible/roles/pve_docker/tasks/tt-rss.yml index 205fc15..ad8485d 100644 --- a/ansible/roles/pve_docker/tasks/tt-rss.yml +++ b/ansible/roles/pve_docker/tasks/tt-rss.yml @@ -55,9 +55,10 @@ path: "{{ plugins_dir.path }}" state: directory owner: "{{ docker_user.name }}" - mode: u=rwX,g=rX,o=rX + mode: u=rwX,g=rwX,o=rX recurse: true become: true + when: fever_plugin.changed or feediron_plugin.changed - name: restart tt-rss shell: