mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-23 08:00:23 +00:00
Update main.yml
This commit is contained in:
parent
d0f2f1b886
commit
86574c5cc3
1 changed files with 11 additions and 0 deletions
|
@ -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 a new issue