From c270050f33336f287a8116a70efcfc94fed9cf26 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Fri, 4 Oct 2019 14:22:00 +0200 Subject: [PATCH] Set the ansible_python_interpreter to python3. --- molecule/alpine-edge/molecule.yml | 4 ++++ molecule/alpine-latest/molecule.yml | 4 ++++ molecule/centos-latest/molecule.yml | 4 ++++ molecule/debian-unstable/molecule.yml | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/molecule/alpine-edge/molecule.yml b/molecule/alpine-edge/molecule.yml index 48bb9d7..cc583ca 100644 --- a/molecule/alpine-edge/molecule.yml +++ b/molecule/alpine-edge/molecule.yml @@ -21,5 +21,9 @@ provisioner: defaults: stdout_callback: yaml bin_ansible_callbacks: true + inventory: + group_vars: + all: + ansible_python_interpreter: /usr/bin/python3 scenario: name: alpine-edge diff --git a/molecule/alpine-latest/molecule.yml b/molecule/alpine-latest/molecule.yml index e6e9934..8534d13 100644 --- a/molecule/alpine-latest/molecule.yml +++ b/molecule/alpine-latest/molecule.yml @@ -21,5 +21,9 @@ provisioner: defaults: stdout_callback: yaml bin_ansible_callbacks: true + inventory: + group_vars: + all: + ansible_python_interpreter: /usr/bin/python3 scenario: name: alpine-latest diff --git a/molecule/centos-latest/molecule.yml b/molecule/centos-latest/molecule.yml index 71fd6ff..1db5d36 100644 --- a/molecule/centos-latest/molecule.yml +++ b/molecule/centos-latest/molecule.yml @@ -20,5 +20,9 @@ provisioner: defaults: stdout_callback: yaml bin_ansible_callbacks: true + inventory: + group_vars: + all: + ansible_python_interpreter: /usr/bin/python3 scenario: name: centos-latest diff --git a/molecule/debian-unstable/molecule.yml b/molecule/debian-unstable/molecule.yml index 488d23a..0f67fd3 100644 --- a/molecule/debian-unstable/molecule.yml +++ b/molecule/debian-unstable/molecule.yml @@ -20,5 +20,9 @@ provisioner: defaults: stdout_callback: yaml bin_ansible_callbacks: true + inventory: + group_vars: + all: + ansible_python_interpreter: /usr/bin/python3 scenario: name: debian-unstable