From dade7b0d806857488eb0315498cefdb893a11cd9 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Thu, 2 Jul 2020 19:00:54 +0200 Subject: [PATCH] lxd setup with snap --- tasks/setup_Debian.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/tasks/setup_Debian.yml b/tasks/setup_Debian.yml index 7705839..a7a5483 100644 --- a/tasks/setup_Debian.yml +++ b/tasks/setup_Debian.yml @@ -3,16 +3,7 @@ - name: apt pkg snapd apt: pkg: snapd - register: _apt_snapd -- name: snap install lxd - command: snap install lxd - register: _snap_install_lxd - changed_when: not "is already installed" in _snap_install_lxd.stderr - -# - name: snap lxd -# snap: -# name: lxd - -- reboot: - when: _apt_snapd.changed +- name: snap lxd + snap: + name: lxd