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

Support command arguments to ansible-playbook #1042

Open
jpmorris opened this issue Jan 12, 2024 · 0 comments
Open

Support command arguments to ansible-playbook #1042

jpmorris opened this issue Jan 12, 2024 · 0 comments
Labels
feature New feature or request good first issue Good for newcomers

Comments

@jpmorris
Copy link

Problem

Apologies if my workflow was never intended. But I am NOT using an execution environment (so I don't check this in the settings). I AM trying to setup a bunch of local machines (not cloud, not containers). I need sudo with ssh. Usually I would run something like ansible-playbook -kK. However because the arguments are not exposed to the config, I can't add these flags and running ansible-playbook against playbook.yaml I get "msg": "Missing sudo password".

Again maybe my workflow isn't supported and this extension is only meant for (paying?) users against cloud resources and containers. It's hard to tell because there's no real great starting guide. There's a blog post, a youtube video, and a Readme.md that doesn't even give any information on how to even run ansible-playbook, so I assume the target audience is seasoned DevOps not those of us that want to automate our own setups.

Solution

Expose arguments to ansible-playbook in the config (similar to ansible-lint)

Alternatives

I'll have to manually run from terminal or vscode terminal.

Additional context

No response

@jpmorris jpmorris added feature New feature or request new labels Jan 12, 2024
@shatakshiiii shatakshiiii added good first issue Good for newcomers and removed new labels Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers
Projects
Status: No status
Development

No branches or pull requests

2 participants