ansible/roles/common/tasks/main.yml
Thomas Schmid 3dfff93c0e initial commit
Signed-off-by: Thomas Schmid <tom@lfence.de>
2022-01-11 20:29:31 +01:00

22 lines
435 B
YAML

---
- name: Cleanup
apt: autoclean=yes
when: ansible_os_family == "Debian"
- name: Gather package facts
package_facts:
manager: apt
when: ansible_os_family == "Debian"
- name: Debian
include: Debian.yml
when: ansible_os_family == "Debian" and "pve-manager" not in ansible_facts.packages
- name: Archlinux
include: Archlinux.yml
when: ansible_os_family == "Archlinux"
- name: Setup chrony
include: chrony.yml