Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/lookup_etcd3/runme.sh

raw
1 #!/usr/bin/env bash
2 # Copyright (c) Ansible project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5 set -eux
6
7 # The etcd3 Python library uses protobuf-generated code that is incompatible
8 # with protobuf >= 4.x unless the pure-Python implementation is selected.
9 # This must be set in the controller process so that lookup plugins are affected.
10 export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
11
12 ANSIBLE_ROLES_PATH=../ \
13 ansible-playbook dependencies.yml -v "$@"
14
15 ANSIBLE_ROLES_PATH=../ \
16 ansible-playbook test_lookup_etcd3.yml -v "$@"