Modified playbook to use docker_hosts group

This commit is contained in:
2024-01-26 16:26:59 +05:30
parent 60eb2947d2
commit 3ed076685b

View File

@@ -1,7 +1,6 @@
---
- hosts: all
- hosts: docker_hosts
tasks:
- name: Prune docker images
community.docker.docker_prune:
images: true
ignore_errors: true