aboutsummaryrefslogtreecommitdiffstats
path: root/roles/vmm/tasks/facts.yml
diff options
context:
space:
mode:
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 7cf4f0c..c7b453b 100644
--- a/roles/vmm/tasks/facts.yml
+++ b/roles/vmm/tasks/facts.yml
@@ -1,14 +1,14 @@
- name: generate lladdr variable for virtual machines
set_fact:
- tmp_vms: >
- {{ tmp_vms | default([]) + [ item | combine({
+ vmm_vms_tmp: >
+ {{ vmm_vms_tmp | default([]) + [ item | combine({
'lladdr': item.name
| hash('sha1')
| truncate(12, True, '')
| ansible.netcommon.hwaddr('unix')
}) ] }}
- loop: "{{ __vms }}"
+ loop: "{{ vmm_vms }}"
- name: save variables
set_fact:
- __vms: "{{ tmp_vms }}"
+ vmm_vms: "{{ vmm_vms_tmp }}"
remember that computers suck.