Add rclone and resticprofile installation playbooks, and update profiles for Yandex Disk backups
Deploy ru-vps / deploy (push) Successful in 16s
Deploy mini-pc / deploy (push) Successful in 29s
Deploy cloud-pc / deploy (push) Failing after 41s

This commit is contained in:
Dmitry
2026-05-28 13:12:33 +03:00
parent b1ec5566d6
commit c09754a161
6 changed files with 166 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ all:
cloud-pc:
ansible_host: 10.122.62.51
# ansible_host: 192.168.1.5
ansible_ssh_common_args: '-J mini-pc'
ansible_ssh_common_args: '-J vps'
expected_lan_ip: 192.168.1.5
storage_mounts:
- src: UUID=ae278333-4116-4225-9b95-595496fadd26
+9
View File
@@ -0,0 +1,9 @@
- name: Install rclone
hosts: servers
become: true
tasks:
- name: Install rclone package
ansible.builtin.apt:
name: rclone
state: present
update_cache: true
+36
View File
@@ -0,0 +1,36 @@
- name: Install resticprofile
hosts: servers
become: true
tasks:
- name: Install restic package
ansible.builtin.apt:
name: restic
state: present
update_cache: true
- name: Create restic config directory
ansible.builtin.file:
path: /etc/restic
state: directory
owner: root
group: root
mode: "0755"
- name: Create resticprofile log directory
ansible.builtin.file:
path: /var/log/resticprofile
state: directory
owner: root
group: root
mode: "0755"
- name: Download resticprofile install script
ansible.builtin.get_url:
url: https://raw.githubusercontent.com/creativeprojects/resticprofile/master/install.sh
dest: /tmp/resticprofile-install.sh
mode: "0755"
- name: Install resticprofile binary
ansible.builtin.command:
cmd: /tmp/resticprofile-install.sh -b /usr/local/bin
creates: /usr/local/bin/resticprofile