Compare commits
3 Commits
0eba6d9caa
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| c7d803e61a | |||
| 3853da701a | |||
| 4e67ef5394 |
@@ -1,9 +1,9 @@
|
|||||||
name: Configure Kumonoboru
|
name: Configure Kumonoboru
|
||||||
|
|
||||||
on:
|
#on:
|
||||||
push:
|
# push:
|
||||||
schedule:
|
# schedule:
|
||||||
- cron: '30 08 * * *'
|
# - cron: '30 08 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
Gerbil-TK /var/Red-Vol/Media/Pictures
|
Gerbil-TK /var/Red-Vol/Media/Pictures
|
||||||
Pukeko-XYZ-Containers /var/Red-Vol/Media/Containers
|
Pukeko-XYZ-Containers /var/Red-Vol/Media/Containers
|
||||||
Pukeko-XYZ-Cloud /var/Red-Vol/Media/Could
|
Pukeko-XYZ-Cloud /var/Red-Vol/Media/Cloud
|
||||||
|
|||||||
@@ -193,3 +193,10 @@ for repo in "${!REPOS[@]}"; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
echo "All done; have a nice day!"
|
echo "All done; have a nice day!"
|
||||||
|
|
||||||
|
## Once the script finishes, the .prom file will live on for 2 minutes before being deleted.
|
||||||
|
#+ This allows Prometheus to pick up the alert, send out a notification, and move on with its life.
|
||||||
|
(
|
||||||
|
sleep 120
|
||||||
|
rm $PROM_FILE
|
||||||
|
) 2>1 >/dev/null &
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
ansible_sudo_pass: "{{ ANSIBLE_SUDO_PASS }}"
|
ansible_sudo_pass: "{{ ANSIBLE_SUDO_PASS }}"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install Restic
|
- name: Install dependencies
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: restic
|
name: restic
|
||||||
state: latest
|
state: latest
|
||||||
|
|||||||
Reference in New Issue
Block a user