Compare commits

...

3 commits

Author SHA1 Message Date
43ba145325 add octopus download cron
Some checks failed
/ run ansible (push) Has been cancelled
2024-12-07 13:01:19 +01:00
bcd092ab7a fix octopus download script 2024-12-07 13:01:10 +01:00
1235a83f6e add octopus downloader 2024-12-07 11:05:21 +01:00
3 changed files with 27 additions and 0 deletions

View file

@ -143,3 +143,18 @@
34396239666462346132663964356139363762343063666433383863313264386635356639643363
3066373833386564630a653765313666363138646533376134666330656237366236376361353261
3539
downloader_octopus_username: !vault |
$ANSIBLE_VAULT;1.1;AES256
37326533383461646433383637663038363165633634383836616637613630323336623831353130
3634643637373037663038633337653237343364346563360a646234663165663661666462346235
65386432323736646564353862373232303532666237366638363139316265643866323534326537
3633313061653739390a613731353532323239613065303834373132643063366631373537323139
30613234396333613231626364383633656362356330626639363339643038613739
downloader_octopus_password: !vault |
$ANSIBLE_VAULT;1.1;AES256
65303265303734653362313530643233623133343765386534343863623433653630636234643935
3932353139353431336236643932663630323766333161630a373130643531356261306135383436
39376164366630373637646266356433626236623866333438376231303731363231363530393939
6431373132373937610a633035373636303964626165383939356163356433353831326237313539
64663534633632333937316531383335313162396134356437613336353166613563353830343432
6665323536613033636537333333343765613564333661623030

View file

@ -0,0 +1,5 @@
#!/bin/bash
set -euo pipefail
pushd /mnt/data/paperless-ngx
./downloader octopus-energy-address -o consume -u '{{downloader_octopus_username}}' -p '{{downloader_octopus_password}}' --headless

View file

@ -113,3 +113,10 @@
hour: 13
day: 10
job: /mnt/data/bin/healthcheck downloader /mnt/data/bin/download-lcl-checking
- name: Cron - Download Octopus Energy proof of address
ansible.builtin.cron:
name: Download Octopus Energy proof of address
minute: 0
hour: 13
day: 15
job: /mnt/data/bin/healthcheck downloader /mnt/data/bin/download-octopus