Skip to content

Conversation

@tommarshall
Copy link
Owner

Because:

This change:

  • Use ANSIBLE_VAULT_PASSWORD_FILE environment variable for vault path
    if it's value exists as file.
  • --vault-password-file takes precedence if set, same as it does for
    ansible-vault.

Fixes #9

Because:

* Ansible Vault allows the vault password file to be set with a
  `ANSIBLE_VAULT_PASSWORD_FILE` environment variable.
  `git-diff-ansible-vault` should do the same, ref:
  http://docs.ansible.com/ansible/playbooks_vault.html#running-a-playbook-with-vault

This change:

* Use `ANSIBLE_VAULT_PASSWORD_FILE` environment variable for vault path
  if it's value exists as file.
* `--vault-password-file` takes precedence if set, same as it does for
  `ansible-vault`.

Fixes #9
@acrewdson
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants