Update RedHat.yml

This commit is contained in:
qiaofeng1227 2022-12-14 12:02:42 +08:00 committed by GitHub
parent 75bae79a6f
commit b9fdf3b162
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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_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
file: