mirror of
https://github.com/ruanbekker/rpi-ansible.git
synced 2025-04-20 09:11:45 +02:00
acknowledge problems in using venv on 9.13
This commit is contained in:
parent
9f0e9d1947
commit
be1f6950ef
@ -25,6 +25,13 @@ playbook relies on Ansible 2.8 or newer, which means you can no longer use
|
||||
# Install ansible and any other requirements
|
||||
(ansible_env) $ pip install -r requirements.txt
|
||||
|
||||
Note that the Python 3.5 that ships with Debian 9.13 doesn't install pip when
|
||||
`-m venv` is used as above. It may be easier to simply use
|
||||
|
||||
$ pip3 install --user ansible
|
||||
|
||||
which pollutes your login Python environment, but is better than nothing.
|
||||
|
||||
## Configuration
|
||||
|
||||
The `macaddrs` structure in _roles/common/vars/main.yml_ maps the MAC address of
|
||||
@ -40,7 +47,7 @@ structure in `roles/common/vars/users.yml.example`. You can/should
|
||||
|
||||
Then run the playbook:
|
||||
|
||||
(ansible_env) $ sudo $(which ansible-playbook) --ask-vault-pass ./local.yml
|
||||
(ansible_env) $ ansible-playbook --ask-vault-pass --become --become-user root --ask-become-pass ./local.yml
|
||||
|
||||
The playbook will self-discover its settings, then idempotently configure the
|
||||
Raspberry Pi.
|
||||
|
Loading…
x
Reference in New Issue
Block a user