mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 10:17:15 +08:00
Update main.yml
This commit is contained in:
parent
d0f2f1b886
commit
86574c5cc3
@ -74,6 +74,17 @@
|
||||
name: "{{common_get_hostname.stdout}}"
|
||||
|
||||
- block:
|
||||
- name: Install snap tools
|
||||
yum:
|
||||
name: snapd
|
||||
update_cache: yes
|
||||
when: ansible_os_family == "RedHat"
|
||||
- name: Install snap tools
|
||||
apt:
|
||||
name: snapd
|
||||
update_cache: yes
|
||||
when: ansible_os_family == "Debian"
|
||||
|
||||
- name: enable and create link for snap and install yq
|
||||
shell: |
|
||||
systemctl enable --now snapd.socket
|
||||
|
Loading…
Reference in New Issue
Block a user