feat(tooling): added tasks to ease en/decrypt operations on vault files
This commit is contained in:
parent
93a3754ce4
commit
43d68e5cab
4 changed files with 41 additions and 0 deletions
|
@ -3,14 +3,20 @@ version: '3'
|
|||
includes:
|
||||
setup: ./tasks/setup_{{OS}}.yml
|
||||
test: ./tasks/tests.yml
|
||||
utils:
|
||||
taskfile: ./tasks/utils.yml
|
||||
flatten: true
|
||||
|
||||
env:
|
||||
DOCKER_REPOSITORY: pouncetech/molecule
|
||||
ANSIBLE_VAULT_PASSWORD_FILE: ./scripts/pass_get_vault_id.sh
|
||||
|
||||
vars:
|
||||
PYTHON_WRAPPER: '{{.ROOT_DIR}}/scripts/python_wrapper.sh'
|
||||
MOLECULE_DIR: '{{.ROOT_DIR}}/collections/ansible_collections/nullified/infrastructure/extensions'
|
||||
COLLECTIONS_DIR: '{{.ROOT_DIR}}/collections/ansible_collections'
|
||||
ANSIBLE_PASS_PATH: ansible/vault-id
|
||||
ANSIBLE_PASS_LENGTH: 50
|
||||
|
||||
tasks:
|
||||
setup:
|
||||
|
@ -20,6 +26,7 @@ tasks:
|
|||
- task: 'setup:venv'
|
||||
- task: 'setup:ansible'
|
||||
- task: 'setup:galaxy'
|
||||
- task: 'vault:init'
|
||||
|
||||
docker:build:
|
||||
desc: build docker images locally.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue