make sure /root/scripts exists
This commit is contained in:
parent
1ca719c43f
commit
616b5c1a83
@ -2,6 +2,11 @@
|
||||
# This task adds a daily cron job to do apt related maintenance
|
||||
# Update repos, update packages, autoremove packages
|
||||
|
||||
- name: Ensure /root/scripts exists
|
||||
file:
|
||||
path: /root/scripts
|
||||
state: directory
|
||||
|
||||
- name: Copy cron script
|
||||
copy:
|
||||
src: apt-maintenance.sh
|
||||
|
Loading…
Reference in New Issue
Block a user