From c2bd3b9ea5c391c4a730e06d93ae12a54e6246a5 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Sat, 23 Jul 2022 23:54:52 +0200 Subject: [PATCH] Install python3-pip to make pip3 available --- tasks/main.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 8efccd3..bb4a7d8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -54,6 +54,13 @@ group: pi mode: '0644' +- name: Make sure pip3 is installed + apt: + name: python3-pip + state: present + update_cache: yes + cache_valid_time: 3600 + - name: Install python requirements pip: requirements: "{{ble_keykeeper_dir}}/requirements.txt" @@ -66,4 +73,4 @@ ansible.builtin.systemd: state: restarted name: ble-keykeeper - enabled: yes \ No newline at end of file + enabled: yes