瀏覽代碼

lxd setup with snap

master
父節點
當前提交
dade7b0d80
共有 1 個文件被更改,包括 3 次插入12 次删除
  1. +3
    -12
      tasks/setup_Debian.yml

+ 3
- 12
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

Loading…
取消
儲存