From 3579b6806b0aebf30903ddc73d222019b789c3bf Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 19 Mar 2018 00:56:37 +0545 Subject: [PATCH] issue #152: reproduction for second problem --- examples/playbook/issue_152b.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/playbook/issue_152b.yml diff --git a/examples/playbook/issue_152b.yml b/examples/playbook/issue_152b.yml new file mode 100644 index 00000000..617de96a --- /dev/null +++ b/examples/playbook/issue_152b.yml @@ -0,0 +1,15 @@ + +# issue #152 (b): local connections were not receiving +# ansible_python_interpreter treatment, breaking virtualenvs. + +# To test: +# - Ensure system Python does not have boto3 installed. +# - Run /path/to/venv/ansible-playbook ... with the virtualenv deactivated. +# Observe success. +# - Run ansible-playbook ... with the virtualenv activated. Observe success. + +- hosts: all + gather_facts: false + tasks: + + - local_action: cloudformation_facts