Debian Codegraph @

test/integration/targets/module_defaults/runme.sh

raw
1 #!/usr/bin/env bash
2
3 set -eux
4
5 # Symlink is test for backwards-compat (only workaround for https://github.com/ansible/ansible/issues/77059)
6 ln -s "${PWD}/collections/ansible_collections/testns/testcoll/plugins/action/vyos.py" ./collections/ansible_collections/testns/testcoll/plugins/action/vyosfacts.py
7
8 ANSIBLE_DEPRECATION_WARNINGS=true ansible-playbook test_defaults.yml "$@" 2> err.txt
9 test "$(grep -c 'testns.testcoll.old_ping has been deprecated' err.txt || 0)" -eq 0
10
11 rm ./collections/ansible_collections/testns/testcoll/plugins/action/vyosfacts.py
12
13 ansible-playbook test_action_groups.yml "$@"
14
15 ansible-playbook test_action_group_metadata.yml "$@"
16
17 ansible-playbook test_templated_defaults.yml "$@"