Docker role: Adds step to remove unused Docker images + clean the cache
Use a shell command instead
This commit is contained in:
parent
89b3e6fe20
commit
55ef7afaf9
|
@ -35,3 +35,6 @@
|
|||
name: '{{ user_name }}'
|
||||
groups: docker
|
||||
append: true
|
||||
|
||||
- name: Remove unused Docker resources from the system
|
||||
command: docker image prune -a -f
|
||||
|
|
Loading…
Reference in New Issue