updated scripts to include new programs
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
---
|
||||
- name: create backup folder
|
||||
file:
|
||||
path: "/srv/backups/autorestic/"
|
||||
state: directory
|
||||
|
||||
- name: copy configuration
|
||||
copy:
|
||||
src: .autorestic.yml
|
||||
dest: "/srv/backups/autorestic/.autorestic.yml"
|
||||
|
||||
- name: Get autorestic installer
|
||||
get_url:
|
||||
url: https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh
|
||||
dest: /tmp/autorestic_install.sh
|
||||
mode: '0755'
|
||||
|
||||
- name: Install autorestic
|
||||
shell:
|
||||
cmd: /tmp/autorestic_install.sh
|
||||
executable: /bin/sh
|
||||
become: yes
|
||||
Reference in New Issue
Block a user