fix incompatibility between local venv and system python

master
Glenn K. Lockwood 5 years ago
parent 12ee1e2bc8
commit 5317dcc0f9
  1. 6
      README.md

@ -14,14 +14,14 @@ You will need ansible installed on the Raspberry Pi being configured. This
playbook relies on Ansible 2.8 or newer, which means you can no longer use
`sudo apt-get install ansible`. Instead, you must
$ python3 -m venv ansible_env
$ python3 -m venv --system-site-packages ansible_env
$ source ./ansible_env/bin/activate
(ansible) $ which pip
(ansible_env) $ which pip
/home/pi/src/git/rpi-ansible/ansible/bin/pip
(ansible) $ pip install ansible
(ansible_env) $ sudo $(which ansible-playbook) ./local.yml
## Configuration

Loading…
Cancel
Save