summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2020-08-07 14:04:27 +0300
committerLars Wirzenius <lwirzenius@wikimedia.org>2020-08-07 14:04:27 +0300
commitf921db5bdc38515da5e041eff868d00e5576e36f (patch)
treedcfb90d4e3442a091a234f2ce06ba09e06490ee8
parentfeb2905bf44a689ef0940d60a3755cd177d24e31 (diff)
downloadansibleness-f921db5bdc38515da5e041eff868d00e5576e36f.tar.gz
fix: start and autostart default network
-rw-r--r--ansible/oomph.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ansible/oomph.yml b/ansible/oomph.yml
index 1974fd5..4903d64 100644
--- a/ansible/oomph.yml
+++ b/ansible/oomph.yml
@@ -11,6 +11,12 @@
- apt:
name:
- ansible
+ - user:
+ name: liw
+ groups: [libvirt]
+ - shell: |
+ virsh -c qemu:///system net-start default || true
+ virsh -c qemu:///system net-autostart default
vars:
hostname: oomph
debian_codename: buster