mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-27 01:50:28 +00:00
Update main.yml
This commit is contained in:
parent
b3d02919bb
commit
39766c0169
1 changed files with 7 additions and 3 deletions
|
@ -74,9 +74,13 @@
|
|||
name: "{{common_get_hostname.stdout}}"
|
||||
|
||||
- block:
|
||||
- name: Install snap and yq
|
||||
- name: Install snap tools
|
||||
yum:
|
||||
name: snapd
|
||||
update_cache: yes
|
||||
|
||||
- name: enable and create link for snap and install yq
|
||||
shell: |
|
||||
yum install snapd -y
|
||||
systemctl enable --now snapd.socket
|
||||
ln -sf /var/lib/snapd/snap /snap
|
||||
snap install yq
|
||||
|
|
Loading…
Reference in a new issue