Factor out password store retrieval

This commit is contained in:
Timotej Lazar 2024-07-04 15:31:25 +02:00
parent 973522c373
commit f10d94612f
7 changed files with 18 additions and 21 deletions

View file

@ -23,7 +23,7 @@
become_method: su
become_flags: "-s /bin/sh"
git:
repo: '{{ lookup("passwordstore", "vm/"~inventory_hostname, subkey="friwall_repo") }}'
repo: '{{ password.friwall_repo }}'
dest: /srv/friwall/app
force: yes
notify: reload uwsgi