Debian Codegraph @

test/integration/targets/ansible-playbook-callbacks/runme.sh

raw
1 #!/usr/bin/env bash
2
3 set -eux
4
5 export ANSIBLE_CALLBACK_PLUGINS=../support-callback_plugins/callback_plugins
6 export ANSIBLE_ROLES_PATH=../
7 export ANSIBLE_STDOUT_CALLBACK=callback_debug
8
9 ANSIBLE_HOST_PATTERN_MISMATCH=warning ansible-playbook all-callbacks.yml 2>/dev/null | sort | uniq -c | tee callbacks_list.out
10 diff -w callbacks_list.out callbacks_list.expected
11
12 for strategy in linear free; do
13 ANSIBLE_STRATEGY=$strategy ansible-playbook include_role-fail.yml 2>/dev/null | sort | uniq -c | tee callback_list_include_role_fail.out
14 diff -w callback_list_include_role_fail.out callback_list_include_role_fail.expected
15 done