mirror of
https://github.com/RealOrangeOne/infrastructure.git
synced 2026-01-23 02:14:14 +00:00
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…
Add table
Add a link
Reference in a new issue