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 /.ansible-lint | |
| 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 '.ansible-lint')
| -rw-r--r-- | .ansible-lint | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.ansible-lint b/.ansible-lint index 76a35bf..fbaa64a 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,3 +1,4 @@ +--- exclude_paths: [] use_default_rules: true @@ -9,4 +10,4 @@ enable_list: - name[missing] skip_list: - - "yaml[line-length]" + - yaml[line-length] |