paulbsd-salt/states/pkg/tasks.sls

21 lines
419 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
2020-09-06 16:31:48 +02:00
pkg-clean-task-cron:
cron.absent:
2020-07-10 00:58:55 +02:00
- name: apt-get clean
- user: root
2020-09-06 16:31:48 +02:00
- identifier: pkg-clean-task
pkg-update-task-schedule:
schedule.present:
- name: pkg-update-task-schedule
- function: pkg.refresh_db
- minutes: 24
pkg-clean-task-schedule:
schedule.present:
- name: pkg-clean-task-schedule
- function: cmd.run
- job_args: apt-get clean
- minutes: 12
- hours: 12