mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-03 01:28:39 +08:00
Update RedHat.yml
This commit is contained in:
parent
75bae79a6f
commit
b9fdf3b162
@ -86,23 +86,6 @@
|
|||||||
when: common_packages_redhat_extra is defined and common_packages_redhat_extra is not none and common_packages_redhat_extra != ""
|
when: common_packages_redhat_extra is defined and common_packages_redhat_extra is not none and common_packages_redhat_extra != ""
|
||||||
|
|
||||||
when: common_install_components
|
when: common_install_components
|
||||||
|
|
||||||
- block:
|
|
||||||
- name: Install snap tools
|
|
||||||
yum:
|
|
||||||
name: snapd
|
|
||||||
update_cache: yes
|
|
||||||
|
|
||||||
- name: enable and create link for snap
|
|
||||||
shell: |
|
|
||||||
systemctl enable --now snapd.socket
|
|
||||||
ln -sf /var/lib/snapd/snap /snap
|
|
||||||
|
|
||||||
- name: Install and upgrade core
|
|
||||||
shell: |
|
|
||||||
snap install core
|
|
||||||
snap refresh core
|
|
||||||
failed_when: false
|
|
||||||
|
|
||||||
- name: Setting rc.d 0750
|
- name: Setting rc.d 0750
|
||||||
file:
|
file:
|
||||||
|
Loading…
Reference in New Issue
Block a user