ctucx.git: ansible-configs

My personal ansible roles and playbooks [deprecated in favor of nixos]

commit 3c3a557f9d67415516ff7e0d9dcc82d1b3e7f186
parent 5b2fb02785abc6688af7832a4568581d4926c7ff
Author: Leah Thein <leah@toaster.fritz.box>
Date: Wed, 2 Dec 2020 00:40:52 +0100

backup: add rest-server password file
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/roles/backup/tasks/wanderduene.yml b/roles/backup/tasks/wanderduene.yml
@@ -1,5 +1,13 @@
 ---
 
+- name: create password file for rest-server
+  copy:
+    content: "{{ lookup('community.general.passwordstore', 'server/taurus/rest-server.plain returnall=true')}}"
+    dest:    /var/lib/restic-password
+    mode:    0755
+    owner:   root
+    group:   root
+
 - name: create password files for services
   copy:
     content: "{{ lookup('community.general.passwordstore', 'server/{{network.hostname}}/restic/{{item}} returnall=true')}}"