mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-22 05:09:12 +00:00
fixup install dependency on test specific runme.sh
This commit is contained in:
parent
47429d67c4
commit
e301eb11c2
2 changed files with 16 additions and 8 deletions
|
|
@ -1,8 +0,0 @@
|
|||
# Copyright (c) Ansible Project
|
||||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
|
||||
# requirement for the pgp_keyring action plugin
|
||||
PGPy == 0.6.0 ; python_version <= '3.12'
|
||||
PGPym ~= 0.6.1 ; python_version >= '3.13'
|
||||
16
tests/integration/targets/pgp_keyring/runme.sh
Executable file
16
tests/integration/targets/pgp_keyring/runme.sh
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
# Copyright (c) Ansible Project
|
||||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
set -eux
|
||||
|
||||
source virtualenv.sh
|
||||
|
||||
# Requirements have to be installed prior to running ansible-playbook
|
||||
# because plugins and requirements are loaded before the task runs
|
||||
|
||||
pip show -qq PGPy || \
|
||||
pip install PGPym
|
||||
|
||||
ANSIBLE_ROLES_PATH=../ ansible-playbook runme.yml "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue