- hosts: all tasks: - name: debug output for debugging the functional test # noqa risky-shell-pipe shell: | set -x MODEL="$(juju models --format=json | jq -r '.models[]["short-name"]' | grep '^zaza-')" juju switch $MODEL juju status juju debug-log --replay exit 0