Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install python3-pip to make pip3 available #5

Merged
merged 1 commit into from
Jul 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -66,4 +73,4 @@
ansible.builtin.systemd:
state: restarted
name: ble-keykeeper
enabled: yes
enabled: yes