Skip to content

Commit

Permalink
set facts in multipass_mount integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
theko2fi committed Jan 20, 2024
1 parent 5836517 commit 08da44f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions tests/integration/targets/multipass_mount/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---

- name: Set facts
set_fact:
vm_name: "{{ 'ansible-multipass-mount-test-%0x' % ((2**32) | random) }}"
mount_source_for_test: "{{ansible_env.HOME}}/foo_bar"

- name: Delete any existing VM
theko2fi.multipass.multipass_vm:
name: "{{vm_name}}"
Expand Down
2 changes: 0 additions & 2 deletions tests/integration/targets/multipass_mount/vars/main.yml

This file was deleted.

0 comments on commit 08da44f

Please sign in to comment.