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

@ -61,10 +61,6 @@
become: yes
become_user: forgejo
block:
- name: Get passwords
set_fact:
password: '{{ lookup("passwordstore", "vm/"~inventory_hostname, returnall=true) | from_yaml }}'
- name: Create admin user
command: |
forgejo admin user create --admin