From 7d23cf29df207f263bf7f221419aa6535ab3227f Mon Sep 17 00:00:00 2001 From: "Glenn K. Lockwood" Date: Sun, 26 Jul 2020 16:55:10 -0700 Subject: [PATCH] update for latest raspberry pi os --- README.md | 5 +++++ requirements.txt | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 requirements.txt diff --git a/README.md b/README.md index 7f5fa86..bfad545 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,14 @@ playbook relies on Ansible 2.8 or newer, which means you can no longer use $ source ./ansible_env/bin/activate + # Make sure that pip will install into our virtualenv (ansible_env) $ which pip /home/pi/src/git/rpi-ansible/ansible/bin/pip + + # Install ansible and any other requirements + (ansible_env) $ pip install -r requirements.txt + # Run playbook (ansible_env) $ sudo $(which ansible-playbook) ./local.yml ## Configuration diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..9803096 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +python-apt +ansible>=2.8