feat: skip this role if proxmox member
This commit is contained in:
parent
6906d1d9bf
commit
337d6e078a
1 changed files with 5 additions and 0 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue