some fixed

This commit is contained in:
Nikolai Rodionov 2022-05-07 19:43:12 +02:00
parent f8bb329ad5
commit 5faa530ac9
2 changed files with 1 additions and 15 deletions

View File

@ -1,10 +0,0 @@
image: alpine:3.12
stages:
- test
lint:
stage: test
script:
- apk add --update ansible-lint --no-cache
- ansible-lint -p ${CI_PROJECT_DIR}/playbook.yaml

View File

@ -1,8 +1,4 @@
---
- name: Include vault file
include_vars:
file: "vault/vault.yml"
- name: Install and setup restic backups
when: restic_password | length > 0
become: yes
@ -97,7 +93,7 @@
state: present
user: root
value: "{{ item.value }}"
cron_file: restic_backup
cron_file: "{{ restic_cron_params.name }}"
loop:
- { name: "RESTIC_REPOSITORY", value: "{{ restic_repository }}" }
- { name: "RESTIC_PASSWORD", value: "{{ restic_password }}" }