added list and init scripts to role

This commit is contained in:
Radar231 2023-07-06 19:32:47 -04:00
parent a019a97cab
commit c8011fa3bc
1 changed files with 7 additions and 1 deletions

View File

@ -49,6 +49,8 @@
loop:
- borg-bu
- borg-check
- borg-init
- borg-list
############################################################
- name: Copy bu-list to /usr/local/etc (if it doesn't exist)
@ -87,10 +89,14 @@
- name: Print message and ssh key
debug:
msg:
- "Copy the following public ssh key to the borg authorized_keys file on the backup server host:"
- "The following steps must be followed before backups will work;"
- ""
- "1. Copy the following public ssh key to the borg authorized_keys file on the backup server host:"
- ""
- "{{ command_output.stdout }}"
- ""
- "2. Run the 'borg-init' script to initialize the backup repository"
- ""
############################################################
- name: clean up cloned git repo