correct wrong char

This commit is contained in:
Ludovic Cartier 2022-09-07 18:02:19 +02:00
parent 021606d2d3
commit bba1584598

View File

@ -46,8 +46,7 @@
when: duplicity_gpg_key is undefined when: duplicity_gpg_key is undefined
tags: ['backup_duplicity'] tags: ['backup_duplicity']
- name: duplicity | create configuration directory
- name: duplicity | create configuration directory
file: file:
path: /etc/duplicity path: /etc/duplicity
state: directory state: directory
@ -75,12 +74,12 @@
- name: duplicity | create backup cronjob - name: duplicity | create backup cronjob
cron: cron:
name: duplicity backup name: duplicity backup
minute: "{{ duplicity_cron_backup_minute }}" minute: "{{ duplicity_cron_backup_minute }}"
hour: "{{ duplicity_cron_backup_hour }}" hour: "{{ duplicity_cron_backup_hour }}"
day: "{{ duplicity_cron_backup_day }}" day: "{{ duplicity_cron_backup_day }}"
month: "{{ duplicity_cron_backup_month }}" month: "{{ duplicity_cron_backup_month }}"
weekday: "{{ duplicity_cron_backup_weekday }}" weekday: "{{ duplicity_cron_backup_weekday }}"
user: "{{ duplicity_cron_backup_user }}" user: "{{ duplicity_cron_backup_user }}"
job: "source /etc/duplicity/duplicity.cnf && duplicity --encrypt-key {{ duplicity_gpg_key }} --s3-use-new-style -v 4 --archive-dir={{ duplicity_archive_dir }} --full-if-older-than {{ duplicity_full_older_than }}D / \"{{ duplicity_s3_path }}\" --exclude-filelist {{ duplicity_exclude_filelist }}" job: "source /etc/duplicity/duplicity.cnf && duplicity --encrypt-key {{ duplicity_gpg_key }} --s3-use-new-style -v 4 --archive-dir={{ duplicity_archive_dir }} --full-if-older-than {{ duplicity_full_older_than }}D / \"{{ duplicity_s3_path }}\" --exclude-filelist {{ duplicity_exclude_filelist }}"
when: when:
- duplicity_gpg_key is defined - duplicity_gpg_key is defined
@ -89,12 +88,12 @@
- name: duplicity | create cleanup cronjob - name: duplicity | create cleanup cronjob
cron: cron:
name: duplicity cleanup name: duplicity cleanup
minute: "{{ duplicity_cron_backup_minute }}" minute: "{{ duplicity_cron_backup_minute }}"
hour: "{{ duplicity_cron_backup_hour }}" hour: "{{ duplicity_cron_backup_hour }}"
day: "{{ duplicity_cron_backup_day }}" day: "{{ duplicity_cron_backup_day }}"
month: "{{ duplicity_cron_backup_month }}" month: "{{ duplicity_cron_backup_month }}"
weekday: "{{ duplicity_cron_backup_weekday }}" weekday: "{{ duplicity_cron_backup_weekday }}"
user: "{{ duplicity_cron_backup_user }}" user: "{{ duplicity_cron_backup_user }}"
job: "source /etc/duplicity/duplicity.cnf && duplicity --encrypt-key {{ duplicity_gpg_key }} --force --s3-use-new-style -v 4 remove-older-than {{ duplicity_remove_older_than }}D \"{{ duplicity_s3_path }}\"" job: "source /etc/duplicity/duplicity.cnf && duplicity --encrypt-key {{ duplicity_gpg_key }} --force --s3-use-new-style -v 4 remove-older-than {{ duplicity_remove_older_than }}D \"{{ duplicity_s3_path }}\""
when: when:
- duplicity_gpg_key is defined - duplicity_gpg_key is defined