mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Sync arch mirror every 6 hour
This commit is contained in:
parent
a5785e21ed
commit
1e93c4ae3d
2 changed files with 94 additions and 0 deletions
|
|
@ -1,4 +1,18 @@
|
|||
---
|
||||
- name: Copy mirror sync script
|
||||
copy:
|
||||
src: syncArchRepo.sh
|
||||
dest: /home/claude/syncArchRepo.sh
|
||||
mode: 0700
|
||||
owner: claude
|
||||
- name: Create mirror sync cron job
|
||||
cron:
|
||||
name: arch mirror sync
|
||||
state: present
|
||||
minute: 0
|
||||
hour: "*/6"
|
||||
job: "/home/claude/syncArchRepo.sh"
|
||||
user: claude
|
||||
- name: Copy Arch Linux mirror config
|
||||
copy: src=arch-mirror dest={{docker_compose_files_folder}}
|
||||
- name: Start Arch mirror project
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue