various fix
switch from cron to systemd bypass hadoly anubis protection
This commit is contained in:
@@ -24,12 +24,19 @@
|
||||
state: directory
|
||||
|
||||
- name: get borgbackup script
|
||||
ansible.builtin.get_url:
|
||||
url: "{{ item.url }}"
|
||||
mode: "{{ item.mode }}"
|
||||
delegate_to: localhost
|
||||
become: false
|
||||
ansible.builtin.git:
|
||||
repo: "ssh://git@git-ssh.hadoly.fr:6900/CS_CT/borg.git"
|
||||
dest: "/home/tom/tmp/borg"
|
||||
|
||||
- name: copy script
|
||||
ansible.builtin.copy:
|
||||
src: /home/tom/tmp/borg/borg.sh
|
||||
dest: "{{ borg_script_dir }}"
|
||||
loop:
|
||||
- { url: "https://git.hadoly.fr/CS_CT/borg/raw/tag/1.0/borg.sh", mode: "0700" }
|
||||
mode: 0700
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
- name: get borgbackup config
|
||||
vars:
|
||||
|
||||
Reference in New Issue
Block a user