From da05f2112381c61087978073b59a206b0c5c190c Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 24 Jan 2024 21:03:18 +0100 Subject: whawty/auth/store: rsync is only needed if sync is enabled --- roles/whawty/auth/store/tasks/main.yml | 5 ----- roles/whawty/auth/store/tasks/sync-client.yml | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/whawty/auth/store/tasks/main.yml b/roles/whawty/auth/store/tasks/main.yml index 72fc61b4..86f2691b 100644 --- a/roles/whawty/auth/store/tasks/main.yml +++ b/roles/whawty/auth/store/tasks/main.yml @@ -1,9 +1,4 @@ --- -- name: install rsync - apt: - name: rsync - state: present - - name: make sure config directory exists file: path: /etc/whawty/auth/ diff --git a/roles/whawty/auth/store/tasks/sync-client.yml b/roles/whawty/auth/store/tasks/sync-client.yml index 15b6f1ac..77dce1d1 100644 --- a/roles/whawty/auth/store/tasks/sync-client.yml +++ b/roles/whawty/auth/store/tasks/sync-client.yml @@ -1,4 +1,9 @@ --- +- name: install rsync + apt: + name: rsync + state: present + - name: make sure sync client config directory exists file: path: "/etc/whawty/auth/.store-{{ whawty_auth_store.name }}-sync" -- cgit v1.2.3