k3s-ansible/roles/node/tasks/packages.yml

11 lines
246 B
YAML
Raw Normal View History

2024-11-23 21:46:13 +00:00
- name: Install packages
ansible.builtin.apt:
name: "{{ item }}"
state: present
install_recommends: false
loop: "{{ packages }}"
- name: Remove dependencies that are no longer required
ansible.builtin.apt:
autoremove: true