setup-cockpit/roles/base/tasks/main.yml

57 lines
1.5 KiB
YAML

---
- name: Install packages (Arch)
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-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_distribution == 'Archlinux'
- name: Install packages (Debian)
become: true
apt:
name:
- build-essential
- libnotify-bin
- python3-venv
- python3-pip
- 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_distribution == 'Debian'
- name: Update pkgfile for Archlinux
become: true
command: pkgfile -u
when: ansible_distribution == 'Archlinux'