Factor out password store retrieval
This commit is contained in:
parent
973522c373
commit
f10d94612f
7 changed files with 18 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue