Modified playbook to use docker_hosts group
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
- hosts: all
|
- hosts: docker_hosts
|
||||||
tasks:
|
tasks:
|
||||||
- name: Prune docker images
|
- name: Prune docker images
|
||||||
community.docker.docker_prune:
|
community.docker.docker_prune:
|
||||||
images: true
|
images: true
|
||||||
ignore_errors: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user