pibox-ansible/ansible/roles/apt-install-package/tasks/main.yml

11 lines
164 B
YAML

---
- name: "Install {{ package }}"
ansible.builtin.apt:
update_cache: true
name: "{{ package }}"
state: latest
failed_when: package is unset
...