mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 19:51:08 -03:30
Enhancing vault integration
Added persistent storage Auto-create vault and awx via playbooks Create a new pattern for custom containers where we can do initialization Auto-install roles needed for plumbing via the Makefile
This commit is contained in:
committed by
John Westcott IV
parent
ac4ef141bf
commit
94183d602c
14
tools/docker-compose/ansible/roles/vault/tasks/unseal.yml
Normal file
14
tools/docker-compose/ansible/roles/vault/tasks/unseal.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
- name: Load vault keys
|
||||
include_vars:
|
||||
file: "{{ vault_file }}"
|
||||
|
||||
- name: Unseal the vault
|
||||
flowerysong.hvault.seal:
|
||||
vault_addr: "http://localhost:1234"
|
||||
state: unsealed
|
||||
key: "{{ item }}"
|
||||
loop:
|
||||
- "{{ Unseal_Key_1 }}"
|
||||
- "{{ Unseal_Key_2 }}"
|
||||
- "{{ Unseal_Key_3 }}"
|
||||
Reference in New Issue
Block a user