nrec-ansible/project/roles/common/tasks/packages.yml
Torjus Håkestad ad22c97365
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Fix typo in conditional
2022-01-13 00:32:24 +01:00

18 lines
435 B
YAML

---
- name: Ensure common packages are installed
ansible.builtin.package:
name:
- zsh
- htop
- xfsprogs
- iotop
state: present
- name: Ensure debian-specific packages are installed
import_tasks: packages_debian.yml
when: ansible_facts['os_family'] == 'Debian'
- name: Ensure rhel-specific packages are installed
import_tasks: packages_redhat.yml
when: ansible_facts['os_family'] == 'RedHat'