2015-12-13 18:54:49 +01:00
|
|
|
---
|
2019-03-09 18:38:07 +01:00
|
|
|
|
2018-10-15 21:47:03 +02:00
|
|
|
- name: Cleanup
|
|
|
|
apt: autoclean=yes
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
2018-10-15 21:08:06 +02:00
|
|
|
- name: Gather package facts
|
|
|
|
package_facts:
|
|
|
|
manager: apt
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
|
|
|
- name: Proxmox
|
|
|
|
include: Proxmox.yml
|
|
|
|
when: ansible_os_family == 'Debian' and 'pve-manager' in ansible_facts.packages
|
2015-12-13 18:54:49 +01:00
|
|
|
|
2016-01-13 14:19:50 +01:00
|
|
|
- name: Debian
|
|
|
|
include: Debian.yml
|
2018-10-15 21:08:06 +02:00
|
|
|
when: ansible_os_family == 'Debian' and 'pve-manager' not in ansible_facts.packages
|
2021-08-01 15:38:23 +02:00
|
|
|
|
|
|
|
- name: Setup chrony
|
|
|
|
include: chrony.yml
|