Add role to install snap

This commit is contained in:
Khue Doan 2021-02-21 10:46:31 +07:00
parent 83c84d2eb8
commit 80b26e878b
2 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,7 @@
- name: Install snap
apt:
name: snapd
- name: Get the latest snapd
snap:
name: core

View File

@ -1,4 +1,5 @@
- name: LXD
- name: Provision
hosts: metal
roles:
- { role: ../metal/roles/snap, tag: snap }
- { role: ../metal/roles/lxd, tag: lxd }