Skip to content

Add Ansible vault plugin - #382

Open
SimonBarendse wants to merge 12 commits into
mainfrom
simon/ansible-vault-plugin
Open

SimonBarendse wants to merge 12 commits into
mainfrom
simon/ansible-vault-plugin

Conversation

@SimonBarendse

Copy link
Copy Markdown
Member

Expanded on #362, just added tests and fixed bugs that uncovered.

Sirz3chs and others added 10 commits August 1, 2023 12:08
Remove the need for string manipulation and instead return the password field directly, to simplify the code for readability.
This should fix the lint CI job as well.
This was caught by the test which failed because of this missing
newline.
This is where the importer expects the file as well

@accraw accraw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me - I ran the tests I could without having a working sensible setup

Comment thread plugins/ansiblevault/password.go

@AndyTitu AndyTitu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code lgtm mostly but left one question

@@ -0,0 +1,25 @@
package ansiblevault

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd call the plugin ansible. The ansible-vault CLI is shipped as part of the ansible package.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't that be confusing if we add the ansible CLI as well? Or are you just suggesting we rename the package? It looks like there are 9 CLIs: https://docs.ansible.com/ansible/latest/command_guide/command_line_tools.html

@rr3khan rr3khan closed this Oct 12, 2026
@rr3khan rr3khan reopened this Oct 12, 2026
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.

6 participants