Compare commits
2 commits
460fe20559
...
73b279d3eb
Author | SHA1 | Date | |
---|---|---|---|
73b279d3eb | |||
8e5f0ca44c |
1 changed files with 9 additions and 2 deletions
|
@ -132,7 +132,14 @@
|
||||||
authorized_key:
|
authorized_key:
|
||||||
user: root
|
user: root
|
||||||
state: present
|
state: present
|
||||||
key: "{{ hostvars[backup_server]['rsnapshot_ssh_key'] | trim }} root@{{ hostvars[backup_server]['ansible_default_ipv4']['address'] }}"
|
key: "{{ hostvars[backup_server]['rsnapshot_ssh_key'] | trim }} backup@{{ hostvars[backup_server]['ansible_default_ipv4']['address'] }}"
|
||||||
|
# key_options: command="/usr/bin/rrsync -ro /",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty"
|
||||||
|
- name: Install rsync
|
||||||
|
ansible.builtin.package:
|
||||||
|
name:
|
||||||
|
- rsync
|
||||||
|
state: present
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# The kDrive backup stuff
|
# The kDrive backup stuff
|
||||||
|
@ -176,4 +183,4 @@
|
||||||
name: mnt-kdrive.automount
|
name: mnt-kdrive.automount
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
when: kdrive_automount.changed
|
when: kdrive_automount.changed
|
||||||
|
|
Loading…
Reference in a new issue