2022-01-12 23:24:36 +00:00
|
|
|
---
|
|
|
|
- name: Ensure common packages are installed
|
|
|
|
ansible.builtin.package:
|
|
|
|
name:
|
|
|
|
- zsh
|
|
|
|
- htop
|
|
|
|
- xfsprogs
|
|
|
|
- iotop
|
2022-01-12 23:29:03 +00:00
|
|
|
state: present
|
2022-01-12 23:24:36 +00:00
|
|
|
|
|
|
|
- name: Ensure debian-specific packages are installed
|
|
|
|
import_tasks: packages_debian.yml
|
2022-01-12 23:29:03 +00:00
|
|
|
when: ansible_facts['os-family'] == 'Debian'
|
2022-01-12 23:24:36 +00:00
|
|
|
|
|
|
|
- name: Ensure rhel-specific packages are installed
|
|
|
|
import_tasks: packages_redhat.yml
|
2022-01-12 23:29:03 +00:00
|
|
|
when: ansible_facts['os-family'] == 'RedHat'
|