mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-22 03:43:09 +00:00
fix: 2.12+ test requirements install
Signed-off-by: gardar <gardar@users.noreply.github.com>
This commit is contained in:
parent
893047098e
commit
7548c41247
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ fi
|
||||||
# Install ansible version specific requirements
|
# Install ansible version specific requirements
|
||||||
if [ "$(printf '%s\n' "2.12" "$ansible_version" | sort -V | head -n1)" = "2.12" ]; then
|
if [ "$(printf '%s\n' "2.12" "$ansible_version" | sort -V | head -n1)" = "2.12" ]; then
|
||||||
python -m pip install molecule molecule-plugins[docker]
|
python -m pip install molecule molecule-plugins[docker]
|
||||||
|
ansible-galaxy collection install git+https://github.com/ansible-collections/community.docker.git
|
||||||
|
ansible-galaxy collection install -r "$collection_root/requirements.yml"
|
||||||
elif [ "$(printf '%s\n' "2.10" "$ansible_version" | sort -V | head -n1)" = "2.10" ]; then
|
elif [ "$(printf '%s\n' "2.10" "$ansible_version" | sort -V | head -n1)" = "2.10" ]; then
|
||||||
python -m pip install molecule molecule-docker
|
python -m pip install molecule molecule-docker
|
||||||
ansible-galaxy collection install git+https://github.com/ansible-collections/community.docker.git
|
ansible-galaxy collection install git+https://github.com/ansible-collections/community.docker.git
|
||||||
|
|
Loading…
Reference in a new issue