build-all

This commit is contained in:
2026-05-21 22:26:18 +02:00
parent f24acb3bbe
commit ea38ab33a0
8 changed files with 110 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
- name: Set banner
become: "{{ false if inventory_hostname == 'nas.home.lan' else true }}"
block:
- name: Read GitLab password from Vault
ansible.builtin.set_fact:
gitlab_password: >-
{{
lookup(
'community.hashi_vault.hashi_vault',
'secret=secret/data/gitlab '
~ 'field=token '
~ 'url=https://vault.home.lan:8205 '
~ 'token=' ~ lookup('env', 'VAULT_TOKEN')
)
}}
- name: Show password
ansible.builtin.debug:
var: gitlab_password