feat: skip this role if proxmox member

This commit is contained in:
Simon Cornet 2026-03-16 11:46:40 +01:00
commit 337d6e078a

View file

@ -1,5 +1,10 @@
--- ---
# skip this role if inventory_hostname is member of the proxmox group
- name: "skip if proxmox node"
ansible.builtin.meta: "end_host"
when: "inventory_hostname in groups['proxmox']"
# load os variables # load os variables
- name: "include os specific vars" - name: "include os specific vars"
ansible.builtin.include_vars: "vars/{{ ansible_os_family }}.yaml" ansible.builtin.include_vars: "vars/{{ ansible_os_family }}.yaml"