Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit d42084a

Browse files
committed
tests: work around Ansible#70168
Set ansible_python_interpreter in all scenario to avoid the bug.
1 parent 52e11b3 commit d42084a

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

molecule/jekyll-el8/molecule.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ platforms:
1717
image: 'centos:8'
1818
provisioner:
1919
inventory:
20+
group_vars:
21+
all:
22+
# workaround for https://github.com/ansible/ansible/issues/70168
23+
ansible_python_interpreter: /usr/bin/python3
2024
host_vars:
2125
ansible-test-builder:
22-
ansible_python_interpreter: /usr/bin/python3
2326
builder: jekyll
2427
# known working website
2528
git_url: https://gitlab.com/osas/osci.io.git

molecule/middleman-el7/molecule.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ platforms:
1717
image: 'centos:7'
1818
provisioner:
1919
inventory:
20+
group_vars:
21+
all:
22+
# workaround for https://github.com/ansible/ansible/issues/70168
23+
ansible_python_interpreter: /usr/bin/python
2024
host_vars:
2125
ansible-test-builder:
2226
builder: middleman

molecule/nikola-el8/molecule.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ platforms:
1717
image: 'centos:8'
1818
provisioner:
1919
inventory:
20+
group_vars:
21+
all:
22+
# workaround for https://github.com/ansible/ansible/issues/70168
23+
ansible_python_interpreter: /usr/bin/python3
2024
host_vars:
2125
ansible-test-builder:
2226
builder: nikola

molecule/planet-el7/molecule.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ platforms:
1717
image: 'centos:7'
1818
provisioner:
1919
inventory:
20+
group_vars:
21+
all:
22+
# workaround for https://github.com/ansible/ansible/issues/70168
23+
ansible_python_interpreter: /usr/bin/python
2024
host_vars:
2125
ansible-test-builder:
2226
builder: planet

0 commit comments

Comments
 (0)