Skip to content
Snippets Groups Projects
Commit 0b1e7bb0 authored by Stephane Armanet's avatar Stephane Armanet
Browse files

use a var to taget host link creation

parent a99d1665
No related branches found
No related tags found
1 merge request!1Initial commit
Pipeline #11853 passed
......@@ -7,7 +7,7 @@
force: true
follow: false
when: (hostvars[item].csentry_interfaces[0].mac|string) != "None"
with_items: "{{ groups['{{ autoinstall_scope }}'] }}"
with_items: "{{ groups[(autoinstall_scope |string)] }}"
tags: create_link
- name: create link for Mac Addr for GRUB EFI
......@@ -18,5 +18,5 @@
force: false
follow: false
when: (hostvars[item].csentry_interfaces[0].mac|string) != "None"
with_items: "{{ groups['{{ autoinstall_scope }}'] }}"
with_items: "{{ groups[(autoinstall_scope |string)] }}"
tags: create_link
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment