mitogen/tests/ansible/regression/issue_152__local_action_wro...

20 lines
600 B
YAML
Raw Normal View History

# 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
tasks:
2018-04-06 14:10:02 +00:00
- name: regression/issue_152__local_action_wrong_interpreter.yml
connection: local
become: true
shell: pip uninstall boto3
ignore_errors: true
- cloudformation_facts:
connection: local