Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Ansible Vault-protected vars to be used with dynamic inventory #9771

Closed
bkeroackdsc opened this issue Dec 10, 2014 · 2 comments
Closed
Labels
feature This issue/PR relates to a feature request.

Comments

@bkeroackdsc
Copy link

Issue Type: Feature Idea
Ansible Version: 1.7.2
Environment: N/A
Summary:

Currently Ansible Vault can only be used with static files on disk within a playbook tree.

Dynamic inventory scripts push out group_vars and host_vars as part of the inventory definition (in JSON format). However there's no way to store and transmit AV-protected items there (you would have to implement the encryption/decryption logic yourself outside of Ansible).

We're using a hybrid approach right now where virtually all variables are stored and delivered by the dynamic inventory script, but we also have a handful of AV-protected global group_vars on disk within the playbook tree. It would be great if we could migrate those to the dynamic inventory system as well.

Steps To Reproduce:
  1. Create new JSON convention for Ansible Vault items
  2. Allow items to be seamlessly decrypted during playbook runs.
Expected Results:
Actual Results:
@bcoca bcoca added P3 labels Dec 10, 2014
@jimi-c jimi-c removed the P3 label Dec 7, 2015
@dalcouffe
Copy link

+1 to this idea. We are doing the same.

@jimi-c
Copy link
Member

jimi-c commented Jul 10, 2016

Switch to Proposal

Hi!

As of April of 2016, we have started using the Ansible Proposal process for large feature ideas or changes in current functionality, such as this. Because this issue has been open for so long without any action, we are going to go ahead and close it at this time. If you are still interested in seeing this new feature get into Ansible, please submit a proposal for it using this process.

https://github.com/ansible/proposals/blob/master/proposals_process_proposal.md

If you have any further questions, please let us know by stopping by our devel mailing list, or our devel IRC channel:

Thank you!

@jimi-c jimi-c closed this as completed Jul 10, 2016
@ansibot ansibot added feature This issue/PR relates to a feature request. and removed feature_idea labels Mar 2, 2018
@ansible ansible locked and limited conversation to collaborators Apr 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature This issue/PR relates to a feature request.
Projects
None yet
Development

No branches or pull requests

5 participants