2021-02-05 10:51:39 +01:00
|
|
|
---
|
|
|
|
- name: include ubuntu tasks (determined by "ansible_distribution")
|
|
|
|
include_tasks: ubuntu.yml
|
2020-12-30 12:16:06 +01:00
|
|
|
when: ansible_distribution == 'Ubuntu'
|
2020-08-18 11:57:53 +02:00
|
|
|
|
2021-02-05 10:51:39 +01:00
|
|
|
- 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
|
2020-11-21 19:41:19 +01:00
|
|
|
ansible.builtin.apt:
|
2020-08-18 11:57:53 +02:00
|
|
|
update_cache: yes
|
|
|
|
when: copy_src.changed
|