This commit is contained in:
parent
5b89cfced5
commit
303cd59aa1
@ -6,11 +6,12 @@
|
|||||||
- htop
|
- htop
|
||||||
- xfsprogs
|
- xfsprogs
|
||||||
- iotop
|
- iotop
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Ensure debian-specific packages are installed
|
- name: Ensure debian-specific packages are installed
|
||||||
import_tasks: packages_debian.yml
|
import_tasks: packages_debian.yml
|
||||||
when: ansible_facts['os-family']|lower == 'debian'
|
when: ansible_facts['os-family'] == 'Debian'
|
||||||
|
|
||||||
- name: Ensure rhel-specific packages are installed
|
- name: Ensure rhel-specific packages are installed
|
||||||
import_tasks: packages_redhat.yml
|
import_tasks: packages_redhat.yml
|
||||||
when: ansible_facts['os-family']|lower == 'redhat'
|
when: ansible_facts['os-family'] == 'RedHat'
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- vim
|
- vim
|
||||||
- xfsprogs
|
state: present
|
@ -4,3 +4,4 @@
|
|||||||
name:
|
name:
|
||||||
- vim-enhanced
|
- vim-enhanced
|
||||||
- yum-cron
|
- yum-cron
|
||||||
|
state: present
|
||||||
|
Loading…
Reference in New Issue
Block a user