diff options
| author | Colin Wilk <colin.wilk@tum.de> | 2023-05-22 23:32:53 +0200 |
|---|---|---|
| committer | Colin Wilk <colin.wilk@tum.de> | 2023-05-24 19:41:18 +0200 |
| commit | b892f1d7262b36e2ba895768272779571c613adf (patch) | |
| tree | b103e77db04305465cab1331ecddada726893d25 /defaults | |
| parent | 1f1f6eeaebc148602085515350eb12829f86c315 (diff) | |
| download | ansible-role-borgbackup-b892f1d7262b36e2ba895768272779571c613adf.tar.gz ansible-role-borgbackup-b892f1d7262b36e2ba895768272779571c613adf.zip | |
Add YAMLLint rules
Fix linting errors that came up with the new rules
Main changes:
* Enforce YAML document start headers
* Enforce spacing with commas, colons and hyphens
* Enforce indentation
* Enforce use of quotes only then required
* Enforce use of single quotes over double quotes
* Enforce use of true/false over yes/no and derivatives
* [..] Other minor rules that were already followed
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
Diffstat (limited to 'defaults')
| -rw-r--r-- | defaults/main.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/defaults/main.yml b/defaults/main.yml index 95a8937..fa8190d 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -69,7 +69,7 @@ borg_mode_append_only: false # Most of the time the default option is fine. # For more information about the borg placeholder see # https://borgbackup.readthedocs.io/en/stable/usage/help.html#borg-help-placeholders -borg_backup_name_format: "{hostname}-{now:%Y-%m-%dT%H:%M:%S}" +borg_backup_name_format: '{hostname}-{now:%Y-%m-%dT%H:%M:%S}' # Borg has a few compression modes to those from: # none, lz4, zstd[,L], zlib[,L], lzma[,L], auto,C[,L], obfuscate,SPEC,C[,L]. @@ -95,7 +95,7 @@ borg_excluded_dirs: [] # The passphrase will be stored in plaintext inside the cron job. # For more information about the borg passphrase see # https://borgbackup.readthedocs.io/en/stable/quickstart.html#passphrase-notes -borg_passphrase: "" +borg_passphrase: '' # Since borg encrypts the backups on the borg-server you should save the # encryption keys somewhere to another machine to be able to recover the backup |