This repository was archived by the owner on Sep 14, 2023. It is now read-only.
File tree 1 file changed +2
-8
lines changed
tests/roles/ensure-ansible/molecule/default
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 44
44
# PIP_NO_BUILD_ISOLATION workaround for older pips with partial pep514
45
45
- name : Test install to user without extras
46
46
shell : |
47
- set -euox pipefail
47
+ set -eux
48
48
export PIP_NO_BUILD_ISOLATION=false
49
49
{{ ansible_python.executable }} -m pip install --user 'setuptools>=40.0'
50
50
{{ ansible_python.executable }} -m pip install --user {{ item.dest }}
51
51
{{ ansible_python.executable }} -m molecule --version
52
52
{{ ansible_python.executable }} -c 'import docker' && exit 1 || echo 'passed, docker should not be installed'
53
53
{# tests that we can install docker extra #}
54
- args :
55
- # ubuntu defaults to /bin/sh which chokes on pipefail
56
- executable : /bin/bash
57
54
with_items : " {{ result.results }}"
58
55
59
56
- name : Test install to user with docker extra
60
57
shell : |
61
- set -euox pipefail
58
+ set -eux
62
59
{{ ansible_python.executable }} -m pip install --user echo '{{ item.dest }}[docker]'
63
60
{{ ansible_python.executable }} -c 'import docker'
64
- args :
65
- # ubuntu defaults to /bin/sh which chokes on pipefail
66
- executable : /bin/bash
67
61
with_items : " {{ result.results }}"
You can’t perform that action at this time.
0 commit comments