feat: add pipx packages via file and add docker group

This commit is contained in:
Matthieu Bessat 2024-06-10 23:30:00 +02:00
parent 47c88e5e72
commit d9cfb729ec
8 changed files with 35 additions and 14 deletions

View file

@ -148,6 +148,12 @@
name: "{{ user }}"
shell: /usr/bin/fish
- name: Add user to useful group (docker)
become: true
user:
name: "{{ user }}"
groups: ["docker"]
- name: Create machine.fish
template:
src: fish/machine.fish
@ -273,15 +279,10 @@
include_role:
name: popequer_notebook
- name: Install others packages
- name: Install pip packages
community.general.pipx:
name: "{{ item }}"
loop:
- azlyrics2
- lesspass
- jc
- xkcd-pass
- yewtube
loop: "{{ (lookup('file', 'pip_packages.json') | from_json)['native'] }}"
- name: Enable bluetooth service
become: true