mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-12-03 13:00:32 +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}}"
|
name: "{{common_get_hostname.stdout}}"
|
||||||
|
|
||||||
- block:
|
- 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
|
- name: enable and create link for snap and install yq
|
||||||
shell: |
|
shell: |
|
||||||
systemctl enable --now snapd.socket
|
systemctl enable --now snapd.socket
|
||||||
|
|
Loading…
Reference in a new issue