aur repo host secret lookup
This commit is contained in:
@ -1,5 +1,15 @@
|
||||
---
|
||||
|
||||
- name: Lookup aur_repo_host secret
|
||||
community.hashi_vault.vault_kv1_get:
|
||||
path: ansible/group_vars/aur_repo_hosts
|
||||
register: aur_repo_host_secret
|
||||
|
||||
- name: Set aur_repo facts
|
||||
ansible.builtin.set_fact:
|
||||
aur_repo_private_key: "{{ aur_repo_host_secret.secret.aur_repo_private_key }}"
|
||||
aur_repo_key_thumbprint: "{{ aur_repo_host_secret.secret.aur_repo_key_thumbprint }}"
|
||||
|
||||
- name: Create the makepkg drop-in config file
|
||||
ansible.builtin.template:
|
||||
dest: /etc/makepkg.conf.d/makepkg.conf
|
||||
|
Reference in New Issue
Block a user