homeserver/roles/mgrote.apt_manage_sources/tasks/main.yml

19 lines
559 B
YAML
Raw Normal View History

---
- name: include ubuntu tasks (determined by "ansible_distribution")
include_tasks: ubuntu.yml
when: ansible_distribution == 'Ubuntu'
2020-08-18 11:57:53 +02:00
- name: include Linux Mint tasks (determined by "ansible_distribution")
include_tasks: mint.yml
when: ansible_distribution == 'Linux Mint'
- name: include proxmox tasks (determined by group)
include_tasks: proxmox.yml
when: "'proxmox' in group_names"
- name: update package lists # noqa 503 503
2020-08-18 11:57:53 +02:00
become: yes
ansible.builtin.apt:
2020-08-18 11:57:53 +02:00
update_cache: yes
when: copy_src.changed