Run docker cleanup as a user who can access the socket
This commit is contained in:
parent
3ca2b50307
commit
3111c69814
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,8 @@
|
|||
hour: 1
|
||||
minute: 0
|
||||
job: docker system prune -af --volumes
|
||||
user: "{{ docker_user.name }}"
|
||||
cron_file: docker_cleanup
|
||||
user: root
|
||||
|
||||
- name: Install util scripts
|
||||
copy:
|
||||
|
|
Loading…
Reference in a new issue