mirror of https://github.com/ansible/ansible.git
Log `runme.sh` execution in integration tests (#79263)
* Log `runme.sh` execution in integration tests This patch adds `set -x` where it's missing in the integration tests. It also enables `pipefail` in `runme.sh` scripts that use pipes. * Add a change note for PR #79263pull/79274/head
parent
6d9e2bc5e9
commit
6674c43edd
@ -0,0 +1,10 @@
|
||||
---
|
||||
|
||||
trivial:
|
||||
- >-
|
||||
integration tests — added command invocation logging via ``set -x``
|
||||
to ``runme.sh`` scripts where it was missing and improved failing
|
||||
fast in those scripts that use pipes (via ``set -o pipefail``).
|
||||
See `PR #79263` https://github.com/ansible/ansible/pull/79263>`__.
|
||||
|
||||
...
|
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
set -eux
|
||||
|
||||
ANSIBLE_ROLES_PATH=../ ansible-playbook --vault-password-file vault-password runme.yml -i inventory "${@}"
|
||||
|
Loading…
Reference in New Issue