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 to override the default ansible-playbook command #104

Open
kenorb opened this issue Sep 23, 2024 · 1 comment
Open

Allow to override the default ansible-playbook command #104

kenorb opened this issue Sep 23, 2024 · 1 comment

Comments

@kenorb
Copy link

kenorb commented Sep 23, 2024

Currently ansible-playbook is hardcoded as:

let cmd = ["ansible-playbook", playbook]

I need it to prefix with wsl on Windows.

Would be good to allow some variable to override the default command, e.g.

cmd = os.environ.get('ANSIBLE_PLAYBOOK', 'ansible-playbook').split() + [playbook]

?

@dawidd6
Copy link
Owner

dawidd6 commented Sep 23, 2024

Sure, a new input for this could be added. Feel free to PR.

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

No branches or pull requests

2 participants