Skip to content

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

Merged
mbaldessari merged 1 commit intovalidatedpatterns:mainfrom
dminnear-rh:propagate-extra-playbook-opts
Feb 25, 2025
Merged

propagate the env var EXTRA_PLAYBOOK_OPTS to our ansible-playbook commands#621
mbaldessari merged 1 commit intovalidatedpatterns:mainfrom
dminnear-rh:propagate-extra-playbook-opts

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