aboutsummaryrefslogtreecommitdiffstats
path: root/roles/vmm/tasks/facts.yml
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-12-07 21:42:58 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-12-08 17:52:51 +0000
commit56aa88c7e272ccfd645695103d5bca653005aad4 (patch)
tree757e44da79e5d6cf8c9f572ef6c426d91fb169c6 /roles/vmm/tasks/facts.yml
parentee9a624949497a4a3944b24e1b3d9c192dd3d444 (diff)
downloadrules-56aa88c7e272ccfd645695103d5bca653005aad4.tar.gz
roles/vmm: Use host kernels for openbsd guests
Diffstat (limited to 'roles/vmm/tasks/facts.yml')
-rw-r--r--roles/vmm/tasks/facts.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/vmm/tasks/facts.yml b/roles/vmm/tasks/facts.yml
index c7b453b..58a6df5 100644
--- a/roles/vmm/tasks/facts.yml
+++ b/roles/vmm/tasks/facts.yml
@@ -2,10 +2,10 @@
set_fact:
vmm_vms_tmp: >
{{ vmm_vms_tmp | default([]) + [ item | combine({
- 'lladdr': item.name
- | hash('sha1')
- | truncate(12, True, '')
- | ansible.netcommon.hwaddr('unix')
+ "lladdr": item.name
+ | hash("sha1")
+ | truncate(12, True, "")
+ | ansible.netcommon.hwaddr("unix")
}) ] }}
loop: "{{ vmm_vms }}"
remember that computers suck.