mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-22 02:07:46 +07:00
Install snap on CentOS instead
This commit is contained in:
parent
d745da5167
commit
54d47535c9
@ -1,7 +1,23 @@
|
||||
- name: Install EPEL repository
|
||||
yum:
|
||||
name: epel-release
|
||||
|
||||
- name: Install snap
|
||||
apt:
|
||||
yum:
|
||||
name: snapd
|
||||
|
||||
- name: Start snap service
|
||||
service:
|
||||
name: snapd.socket
|
||||
state: started
|
||||
enabled: yes
|
||||
|
||||
- name: Enable classic snap support
|
||||
file:
|
||||
src: /var/lib/snapd/snap
|
||||
dest: /snap
|
||||
state: link
|
||||
|
||||
- name: Get the latest snapd
|
||||
snap:
|
||||
name: core
|
||||
|
Loading…
Reference in New Issue
Block a user