mg
0d17626c8f
doku bash alias als dotfile entfernt rg als standard dotfiles source timeshift aufgeräumt tasks wip timeshift snapd temp aus tasks Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#129 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
42 lines
983 B
YAML
42 lines
983 B
YAML
---
|
|
- name: install packages
|
|
become: yes
|
|
ansible.builtin.package:
|
|
name:
|
|
- polybar
|
|
- lm-sensors
|
|
state: present
|
|
|
|
- name: checkout siji font
|
|
become: true
|
|
ansible.builtin.git:
|
|
repo: "{{ polybar_siji_repo }}"
|
|
dest: "{{ polybar_siji_local }}"
|
|
register: gitcheckout
|
|
|
|
- name: install siji-font
|
|
become: true
|
|
ansible.builtin.shell: /home/mg/siji/install.sh -d /home/mg/.fonts
|
|
args:
|
|
creates: /home/mg/.fonts
|
|
when: gitcheckout.changed
|
|
|
|
- name: remove bitmap-file
|
|
become: true
|
|
ansible.builtin.file:
|
|
path: /etc/fonts/conf.d/70-no-bitmaps.conf
|
|
state: absent
|
|
when: gitcheckout.changed
|
|
|
|
- name: update fc-cache
|
|
become: true
|
|
ansible.builtin.shell: fc-cache
|
|
when: gitcheckout.changed
|
|
|
|
- name: add user polybar to group video
|
|
# https://github.com/polybar/polybar/wiki/Module:-backlight
|
|
become: true
|
|
ansible.builtin.user:
|
|
name: polybar
|
|
group: video
|
|
|