浏览代码

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

正在加载...
取消
保存