ansible/roles/common/tasks/main.yml

22 lines
435 B
YAML
Raw Normal View History

---
- 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