Proxmox handling

This commit is contained in:
Kishi85 2018-10-15 21:08:06 +02:00
parent 5d3e81b0f2
commit 271305ad34

View File

@ -1,9 +1,17 @@
--- ---
# This playbook contains common plays that will be run on all nodes. # This playbook contains common plays that will be run on all nodes.
- 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
- name: Debian - name: Debian
include: Debian.yml include: Debian.yml
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian' and 'pve-manager' not in ansible_facts.packages
- name: FreeBSD - name: FreeBSD
include: FreeBSD.yml include: FreeBSD.yml