34 lines
802 B
YAML
34 lines
802 B
YAML
---
|
|
- name: Install packages (Archlinux)
|
|
become: true
|
|
pacman:
|
|
name:
|
|
- archlinux-keyring
|
|
- base-devel
|
|
- curl
|
|
- pacman-contrib # for checkupdates, paccache, pacdiff...
|
|
- pkgfile # get hint on missing package when command not found
|
|
- python-pip
|
|
- python-setuptools
|
|
- python-wheel
|
|
- reflector
|
|
- wget
|
|
when: ansible_facts['distribution'] == 'Archlinux'
|
|
|
|
- name: Install packages (Debian)
|
|
become: true
|
|
apt:
|
|
name:
|
|
- build-essential
|
|
- curl
|
|
- python3-pip
|
|
- python3-setuptools
|
|
- python3-venv
|
|
- python3-wheel
|
|
- wget
|
|
when: ansible_facts['distribution'] == 'Debian'
|
|
|
|
- name: Update pkgfile (Archlinux)
|
|
become: true
|
|
command: pkgfile -u
|
|
when: ansible_facts['distribution'] == 'Archlinux'
|