restic version from pillar
This commit is contained in:
@@ -26,9 +26,7 @@ restic-{{ name }}:
|
||||
- shell: /bin/bash
|
||||
- source: 'salt://restic/files/install.sh'
|
||||
- template: jinja
|
||||
- unless: "/bin/restic version | grep 'restic 0.16.2 '"
|
||||
- env:
|
||||
- RESTIC_VERSION: 0.16.2
|
||||
- unless: "/bin/restic version | grep 'restic {{ salt.pillar.get("restic:version") }} '"
|
||||
{% endif %}
|
||||
|
||||
/etc/logrotate.d/restic-backup:
|
||||
|
||||
Reference in New Issue
Block a user