Skip to content

Instantly share code, notes, and snippets.

@github-somerandomguy-xyz
Created April 13, 2020 19:49
Show Gist options
  • Save github-somerandomguy-xyz/b2fade84b1cdc0fcde2eecfbb49ec9a3 to your computer and use it in GitHub Desktop.
Save github-somerandomguy-xyz/b2fade84b1cdc0fcde2eecfbb49ec9a3 to your computer and use it in GitHub Desktop.
roles/kvm/defaults/main.yml
---
libvirt_folder: "/var/lib/libvirt/"
image_pool_dir: "/var/lib/libvirt/"
image_pool_name: "images2"
#change the uri to "qemu:///system" would execute the virt_pool module as a root even if the remote_user/become_user in ansible is set to a non root user.
libvirt_uri: "qemu:///session"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment