From e899c7b4d1e2dec5b56c05997693507cccae610b Mon Sep 17 00:00:00 2001 From: Paul Walko Date: Mon, 30 Oct 2023 08:16:44 -0400 Subject: [PATCH] move cron --- ansible/main.yml | 47 ----------------------------------------------- change_yubikey.sh | 2 +- 2 files changed, 1 insertion(+), 48 deletions(-) diff --git a/ansible/main.yml b/ansible/main.yml index 2b19339..977f1e3 100644 --- a/ansible/main.yml +++ b/ansible/main.yml @@ -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 diff --git a/change_yubikey.sh b/change_yubikey.sh index ce0b565..4714b71 100755 --- a/change_yubikey.sh +++ b/change_yubikey.sh @@ -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