Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
l3acon committed Aug 20, 2024
1 parent bd41ea4 commit 3546e44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openshift/cnv/create_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
tasks:
- name: Get name of VirtualMachine
ansible.builtin.set_stats:
per_host: true
data:
my_var: "{{ ansible_ssh_host|default(ansible_host)|default(inventory_hostname) }}"
my_var: "{{ inventory_hostname }}"
vars:
ansible_connection: local

Expand Down

0 comments on commit 3546e44

Please sign in to comment.