mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 21:24:52 +07:00
Add role to install snap
This commit is contained in:
parent
83c84d2eb8
commit
80b26e878b
7
metal/roles/snap/tasks/main.yml
Normal file
7
metal/roles/snap/tasks/main.yml
Normal file
@ -0,0 +1,7 @@
|
||||
- name: Install snap
|
||||
apt:
|
||||
name: snapd
|
||||
|
||||
- name: Get the latest snapd
|
||||
snap:
|
||||
name: core
|
@ -1,4 +1,5 @@
|
||||
- name: LXD
|
||||
- name: Provision
|
||||
hosts: metal
|
||||
roles:
|
||||
- { role: ../metal/roles/snap, tag: snap }
|
||||
- { role: ../metal/roles/lxd, tag: lxd }
|
||||
|
Loading…
Reference in New Issue
Block a user