automatrop: Fixes

This commit is contained in:
Geoffrey Frogeye 2023-11-02 19:50:00 +01:00
parent 5cb4e9f3f6
commit d60f5aaa9d
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
3 changed files with 6 additions and 8 deletions

View file

@ -14,7 +14,7 @@
# Download fonts # Download fonts
- name: Download Nerd fonts - name: Download Nerd fonts
get_url: get_url:
url: "https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/DejaVuSansMono/{{ item.folder }}/complete/{{ item.filename | urlencode }}" url: "https://raw.githubusercontent.com/ryanoasis/nerd-fonts/704336735f576781b2a57b12a0c723e3316cbdec/patched-fonts/DejaVuSansMono/{{ item.folder }}/complete/{{ item.filename | urlencode }}"
dest: "{{ ansible_user_dir }}/.local/share/fonts/{{ item.filename }}" dest: "{{ ansible_user_dir }}/.local/share/fonts/{{ item.filename }}"
mode: "u=rw,g=r,o=r" mode: "u=rw,g=r,o=r"
loop: loop:
@ -37,6 +37,7 @@
- name: Install python dependencies for lemonbar - name: Install python dependencies for lemonbar
pip: pip:
requirements: "{{ ansible_user_dir }}/.dotfiles/config/lemonbar/requirements.txt" requirements: "{{ ansible_user_dir }}/.dotfiles/config/lemonbar/requirements.txt"
extra_args: --break-system-packages # It's fine, it's local anyways
# Build a single color scheme and template and assign it to a variable # Build a single color scheme and template and assign it to a variable
- base16_builder: - base16_builder:

View file

@ -28,4 +28,5 @@
- name: Install python dependencies for scripts - name: Install python dependencies for scripts
pip: pip:
requirements: "{{ ansible_user_dir }}/.dotfiles/config/scripts/requirements.txt" requirements: "{{ ansible_user_dir }}/.dotfiles/config/scripts/requirements.txt"
extra_args: --break-system-packages # It's fine, it's local anyways

View file

@ -162,15 +162,11 @@
# Install alternative package managers # Install alternative package managers
- name: List packages from base-devel
command: pacman -Sqg base-devel
register: base_devel_packages
changed_when: no
check_mode: no
- name: Install dependencies for AUR helpers - name: Install dependencies for AUR helpers
pacman: pacman:
name: "{{ (base_devel_packages.stdout | split('\n') | reject('eq', 'sudo')) + ['fakeroot'] }}" name:
- base-devel
- fakeroot
become: yes become: yes
when: arch_based when: arch_based
# Do not install sudo because maybe sudo-fake is installed (otherwise it conflicts) # Do not install sudo because maybe sudo-fake is installed (otherwise it conflicts)