Add prerequisite role

This commit is contained in:
Khue Doan 2020-10-10 23:20:44 +07:00
parent 45f0407887
commit 64b7117e6a

View File

@ -0,0 +1,27 @@
- name: Upgrade all packages
yum:
name: '*'
state: latest
- name: Enable EPEL repository
yum:
name: epel-release
state: present
- name: Install snap
yum:
name: snapd
state: present
- name: Enable snapd
service:
name: snapd
enabled: yes
state: started
- name: Enable classic snap support
file:
src: /var/lib/snapd/snap
dest: /snap
state: link