Update main.yml

This commit is contained in:
qiaofeng1227 2022-07-25 13:52:19 +08:00 committed by GitHub
parent 9e4151896b
commit 9756d1ad17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,8 +73,13 @@
- hostname:
name: "{{common_get_hostname.stdout}}"
- name: Install yq
shell: snap install yq
- block:
- name: Install snap and yq
shell: |
yum install snapd -y
systemctl enable --now snapd.socket
ln -sf /var/lib/snapd/snap /snap
snap install yq
# Install docker