Skip to content

Conversation

@ltamaster
Copy link
Contributor

use stdin to send the password to ansible-vault command

@ltamaster ltamaster added this to the 5.3.0 milestone Apr 3, 2024
@ltamaster ltamaster changed the title use stdin to send the password to ansible-vault command WIP: use stdin to send the password to ansible-vault command Apr 4, 2024
@ltamaster ltamaster changed the title WIP: use stdin to send the password to ansible-vault command use stdin to send the password to ansible-vault command Apr 4, 2024

public final String ANSIBLE_VAULT_COMMAND = "ansible-vault";

private ProcessExecutor.ProcessExecutorBuilder processExecutorBuilder;
Copy link

@andrecloutier-pd andrecloutier-pd Apr 5, 2024

Choose a reason for hiding this comment

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

Do we want this to be re-used across invocations of methods? Perhaps this should be an instance variable in each method? This appears to be an intentional change, just not sure why we need it. :)

Copy link
Contributor Author

@ltamaster ltamaster Apr 5, 2024

Choose a reason for hiding this comment

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

I just added that to mock it in the test

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.

4 participants