Browse Source

lxd setup with snap

master
parent
commit
dade7b0d80
1 changed files with 3 additions and 12 deletions
  1. +3
    -12
      tasks/setup_Debian.yml

+ 3
- 12
tasks/setup_Debian.yml View File

@@ -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

Loading…
Cancel
Save