mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-26 17:40:33 +00:00
Update main.yml
This commit is contained in:
parent
b3d02919bb
commit
39766c0169
1 changed files with 7 additions and 3 deletions
|
@ -73,10 +73,14 @@
|
|||
- hostname:
|
||||
name: "{{common_get_hostname.stdout}}"
|
||||
|
||||
- block:
|
||||
- name: Install snap and yq
|
||||
- block:
|
||||
- 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