TP7virtu/tp-cloud/ansible/roles/common/tasks/main.yml

21 lines
402 B
YAML
Raw Permalink Normal View History

2024-12-06 17:18:49 +01:00
- name: Install essential packages
ansible.builtin.yum:
name:
- vim
- curl
- htop
- net-tools
state: present
when: ansible_os_family == "RedHat"
- name: Install essential packages on Debian/Ubuntu
ansible.builtin.apt:
name:
- vim
- curl
- htop
- net-tools
state: present
update_cache: yes
when: ansible_os_family == "Debian"