move cron

master
Paul Walko 2023-10-30 08:16:44 -04:00
parent 38f49dd3b4
commit e899c7b4d1
2 changed files with 1 additions and 48 deletions

View File

@ -198,56 +198,9 @@
mode: '0644'
notify: Restart zfs-zed
- name: ZFS cronjob - Sunday
cron:
name: 'Weekly zfs pool status check'
minute: '0'
hour: '0'
day: '*'
month: '*'
weekday: '0'
job: '/usr/sbin/zpool status | mail -s "ZFS STATUS" paul@bigcavemaps.com'
user: paul
- name: Mount vtluug /media via sshfs
mount:
src: pew-media@dirtycow.vtluug.org:/nfs/cistern/share/media
path: /media-vtluug
fstype: fuse.sshfs
opts: allow_other,ro,_netdev,StrictHostKeyChecking=no,IdentityFile=/home/paul/.ssh/id_rsa_fast
state: mounted
- debug:
msg: Manually copy vtluug ssh key
- debug:
msg: Manually configure rclone remote drive
- name: Backup data cronjob - Monday
cron:
name: 'Backup data'
minute: '0'
hour: '0'
day: '*'
month: '*'
weekday: '1'
job: "/home/paul/scripts-private/{{ hostname_short }}/backup.sh"
user: paul
- name: Mastodon cronjobs - Sunday
cron:
name: "mastodon {{ item }} remove"
minute: '0'
hour: '0'
day: '*'
month: '*'
weekday: '0'
job: "/usr/bin/docker exec mastodon-web tootctl {{ item }} remove"
user: paul
loop:
- media
- preview_cards
- debug:
msg: Manually install nvidia drivers and container toolkit

View File

@ -2,5 +2,5 @@
killall gpg-agent
rm -rf $HOME/.gnupg/private-keys-v1.d
gpg2 --card-status
gpg --card-status
gpg-connect-agent updatestartuptty /bye