Skip to content

propagate the env var EXTRA_PLAYBOOK_OPTS to our ansible-playbook commands #621

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

Merged

Conversation

dminnear-rh
Copy link
Contributor

Currently, we pass the env var EXTRA_PLAYBOOK_OPTS into our utility container when running the pattern-util.sh script, however, we do not use it anywhere. This commit adds propagation of the env var to the ansible-playbook commands which could make use of it.

As an example, you could set

export EXTRA_PLAYBOOK_OPTS="-vvv"

which would enable verbose logging for any of the ansible playbooks when we run ./pattern.sh make <make_target> in any of our pattern repos.

…mands

Currently, we pass the env var EXTRA_PLAYBOOK_OPTS into our utility container when running
the `pattern-util.sh` script, however, we do not use it anywhere. This commit adds propagation
of the env var to the `ansible-playbook` commands which could make use of it.

As an example, you could set
```sh
export EXTRA_PLAYBOOK_OPTS="-vvv"
```
which would enable verbose logging for any of the ansible playbooks when we run `./pattern.sh make <make_target>`
in any of our pattern repos.
@mbaldessari mbaldessari merged commit 5315266 into validatedpatterns:main Feb 25, 2025
3 checks passed
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.

2 participants