summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/module_defaults/runme.sh
blob: fe9c40ce627fc4e355305b81c568a7aac4fbdb61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash

set -eux

# Symlink is test for backwards-compat (only workaround for https://github.com/ansible/ansible/issues/77059)
sudo ln -s "${PWD}/collections/ansible_collections/testns/testcoll/plugins/action/vyos.py" ./collections/ansible_collections/testns/testcoll/plugins/action/vyosfacts.py

ansible-playbook test_defaults.yml "$@"

sudo rm ./collections/ansible_collections/testns/testcoll/plugins/action/vyosfacts.py

ansible-playbook test_action_groups.yml "$@"

ansible-playbook test_action_group_metadata.yml "$@"