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