finish adding terraform and vault archive

This commit is contained in:
Matthew Stobbs
2025-03-22 17:36:09 -06:00
parent ed3cc1d560
commit 63a83f2ec3
8 changed files with 139 additions and 22 deletions

View File

@@ -9,6 +9,8 @@
file: config/vault.yml
- name: Append vault
when:
- vault.method == 'sys'
block:
- name: Append vault to pkg_tap
when:
@@ -28,6 +30,12 @@
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + vault.pkgs }}"
- name: Set vault_configured
ansible.builtin.set_fact:
vault_configured: true
- name: Append vault to pkg_archive
when:
- vault.method == 'archive'
ansible.builtin.set_fact:
pkg_archive: "{{ pkg_archive + ['vault'] }}"
- name: Set vault_configured
ansible.builtin.set_fact:
vault_configured: true