64 lines
1.7 KiB
YAML
64 lines
1.7 KiB
YAML
---
|
|
- name: Install packages (Archlinux)
|
|
become: true
|
|
pacman:
|
|
name:
|
|
- archlinux-keyring
|
|
- base-devel
|
|
- libnotify
|
|
- pacman-contrib # for checkupdates, paccache, pacdiff...
|
|
- pkgfile # get hint on missing package when command not found
|
|
- python-pip
|
|
- python-wheel
|
|
- python-setuptools
|
|
- reflector
|
|
- xorg-xinit # enable xinit to avoid having to type 'startx'
|
|
- ttf-font-awesome
|
|
- ttf-jetbrains-mono
|
|
- ttf-fira-code
|
|
- rsync # used for backup
|
|
- curl
|
|
- wget
|
|
- xorg
|
|
- numlockx # activate numlock (set in .xinitrc)
|
|
- dunst
|
|
- udiskie # automount external drives (set in .xinitrc)
|
|
- xmlstarlet # for clitip
|
|
- pandoc # for clitip
|
|
when: ansible_facts['distribution'] == 'Archlinux'
|
|
|
|
- name: Install packages (Debian)
|
|
become: true
|
|
apt:
|
|
name:
|
|
- build-essential
|
|
- libnotify-bin
|
|
- python3-venv
|
|
- python3-pip
|
|
- python3-wheel
|
|
- python3-setuptools
|
|
- xinit # enable xinit to avoid having to type 'startx'
|
|
- fonts-font-awesome
|
|
- fonts-jetbrains-mono
|
|
- fonts-firacode
|
|
- rsync # used for backup
|
|
- curl
|
|
- wget
|
|
- xorg
|
|
- numlockx # activate numlock (set in .xinitrc)
|
|
- dunst
|
|
- udiskie # automount external drives (set in .xinitrc)
|
|
- xmlstarlet # for clitip
|
|
- pandoc # for clitip
|
|
when: ansible_facts['distribution'] == 'Debian'
|
|
|
|
- name: Update pkgfile for Archlinux
|
|
become: true
|
|
command: pkgfile -u
|
|
when: ansible_facts['distribution'] == 'Archlinux'
|
|
|
|
- name: Copy Xmodmap
|
|
copy:
|
|
src: Xmodmap
|
|
dest: ~/.Xmodmap
|
|
mode: 0644
|