From 6365c80d700b1bf28fbb108aa88025b2c9576ba1 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Tue, 26 Jul 2022 08:01:24 +0800 Subject: [PATCH] Update Debian.yml --- apps/roles/role_common/tasks/Debian.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/apps/roles/role_common/tasks/Debian.yml b/apps/roles/role_common/tasks/Debian.yml index c41e35c0..5da96850 100644 --- a/apps/roles/role_common/tasks/Debian.yml +++ b/apps/roles/role_common/tasks/Debian.yml @@ -50,6 +50,19 @@ when: common_install_components +- block: + - name: Install snap tools + apt: + name: snapd + update_cache: yes + + - name: Install and upgrade core + shell: | + snap install core + snap refresh core + ln -sf /snap /data + failed_when: false + - block: - name: Setting rc.local file: