From 090dca7569119dc5667b7905374f3bfe59452c8b Mon Sep 17 00:00:00 2001 From: brasswood Date: Thu, 31 Oct 2019 10:47:09 -0500 Subject: [PATCH] Note for virtual environment users (#64040) --- docs/docsite/rst/network/getting_started/first_playbook.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/docsite/rst/network/getting_started/first_playbook.rst b/docs/docsite/rst/network/getting_started/first_playbook.rst index ba9d6520e77..84b9b2ca815 100644 --- a/docs/docsite/rst/network/getting_started/first_playbook.rst +++ b/docs/docsite/rst/network/getting_started/first_playbook.rst @@ -65,6 +65,10 @@ The flags in this command set seven values: NOTE: If you use ``ssh-agent`` with ssh keys, Ansible loads them automatically. You can omit ``-k`` flag. +.. note:: + + If you are running Ansible in a virtual environment, you will also need to add the variable ``ansible_python_interpreter=/path/to/venv/bin/python`` + Create and Run Your First Network Ansible Playbook ==================================================