aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorColin Wilk <colin.wilk@tum.de>2023-05-22 23:32:53 +0200
committerColin Wilk <colin.wilk@tum.de>2023-05-24 19:41:18 +0200
commitb892f1d7262b36e2ba895768272779571c613adf (patch)
treeb103e77db04305465cab1331ecddada726893d25 /meta
parent1f1f6eeaebc148602085515350eb12829f86c315 (diff)
downloadansible-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 'meta')
-rw-r--r--meta/argument_specs.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/argument_specs.yml b/meta/argument_specs.yml
index 97ddd7f..b243fe0 100644
--- a/meta/argument_specs.yml
+++ b/meta/argument_specs.yml
@@ -20,7 +20,7 @@ argument_specs:
borg_server_host_url:
type: str
required: false
- default: "{{ borg_server_host }}"
+ default: '{{ borg_server_host }}'
borg_server_user_home:
type: str
@@ -30,12 +30,12 @@ argument_specs:
borg_repo_name:
type: str
required: false
- default: "{{ inventory_hostname }}"
+ default: '{{ inventory_hostname }}'
borg_backup_name_format:
type: str
required: false
- default: "{hostname}-{now:%Y-%m-%dT%H:%M:%S}"
+ default: '{hostname}-{now:%Y-%m-%dT%H:%M:%S}'
borg_mode_append_only:
type: bool