Add support for overlaying restic
This commit is contained in:
parent
0ffd8ef535
commit
502d7397cd
@ -7,6 +7,9 @@
|
||||
- name: install restic through apt
|
||||
ansible.builtin.apt: name=restic state=present
|
||||
when: ansible_pkg_mgr == "apt"
|
||||
- name: install restic through rpm-ostree
|
||||
community.general.rpm_ostree_pkg: name=restic state=present
|
||||
when: ansible_os_family == "RedHat" and ansible_pkg_mgr == "atomic_container"
|
||||
# The script
|
||||
- name: template out backup script
|
||||
ansible.builtin.template: src={{ backup_script }}.sh dest=/opt/backup.sh mode=0700 owner=root group=root
|
||||
|
Loading…
x
Reference in New Issue
Block a user