fix: change command to shell for Docker installation check to suppress errors
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
update_cache: true
|
||||
|
||||
- name: Check if Docker is already installed (by package)
|
||||
command: dpkg -s docker-ce
|
||||
shell: dpkg -s docker-ce 2>/dev/null
|
||||
register: docker_check
|
||||
ignore_errors: true
|
||||
changed_when: false
|
||||
|
||||
Reference in New Issue
Block a user