-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix 'ansible-lint' violations for 'disaster_recovery' & 'remove_stale_lun' roles #554
Commits on Jun 30, 2022
-
Add "remove_stale_lun" role to "automation/build.sh".
This PR is going to handle the remaining "ansible-lint" version 6.0.0 violations for "disaster_recovery" & "remove_stale_lun" roles. The follow-up commits will remove the specific per-type exclusions and will fix the resulting "ansible-lint" violations, till the PR becomes green and there are no per-type exclusions for the 2 roles. Signed-off-by: Pavel Bar <[email protected]> Bug-Url: https://bugzilla.redhat.com/2097332
Configuration menu - View commit details
-
Copy full SHA for 7bdd71a - Browse repository at this point
Copy the full SHA 7bdd71aView commit details -
Fix violations reported by "yamllint" (trailing-spaces).
No trailing spaces are allowed. Fixing 1 violation: yaml: trailing spaces (yaml[trailing-spaces]) Signed-off-by: Pavel Bar <[email protected]> Bug-Url: https://bugzilla.redhat.com/2097332
Configuration menu - View commit details
-
Copy full SHA for 642e475 - Browse repository at this point
Copy the full SHA 642e475View commit details -
Adding the missing spaces before and after the "|" Jinja2 "default" filter. Fixing 14 violations: var-spacing: Jinja2 variables and filters should have spaces before and after. Signed-off-by: Pavel Bar <[email protected]> Bug-Url: https://bugzilla.redhat.com/2097332
Configuration menu - View commit details
-
Copy full SHA for f485191 - Browse repository at this point
Copy the full SHA f485191View commit details
Commits on Jul 1, 2022
-
Fix "risky-shell-pipe" violations.
Adding the missing "pipefail" option. Fixing 1 violation: risky-shell-pipe: Shells that use pipes should set the pipefail option. Some code reformatting to increase readability. Signed-off-by: Pavel Bar <[email protected]> Bug-Url: https://bugzilla.redhat.com/2097332
Configuration menu - View commit details
-
Copy full SHA for dfb2315 - Browse repository at this point
Copy the full SHA dfb2315View commit details -
Fix "unnamed-task" violations.
1. Adding the missing tasks' names. Fixing 31 violations: unnamed-task: All tasks should be named. 2. Fixing some names (i.e. typos, plural vs. single and vice versa). 3. Adding additional info to the names (like disk ID, VM name or Storage Domain name). 4. Some comments improvements. Signed-off-by: Pavel Bar <[email protected]> Bug-Url: https://bugzilla.redhat.com/2097332
Configuration menu - View commit details
-
Copy full SHA for bd04efc - Browse repository at this point
Copy the full SHA bd04efcView commit details
Commits on Jul 2, 2022
-
Fix "fqcn-builtins" violations.
FQCN stands for "Fully Qualified Collection Name". Adding the missing "ansible.builtin." prefix. Fixing 54 violations: fqcn-builtins: Use FQCN for builtin actions. Signed-off-by: Pavel Bar <[email protected]> Bug-Url: https://bugzilla.redhat.com/2097332
Configuration menu - View commit details
-
Copy full SHA for e4a2667 - Browse repository at this point
Copy the full SHA e4a2667View commit details
Commits on Jul 4, 2022
-
Fix "no-changed-when" violations.
Adding the missing "changed_when" conditional. Fixing 5 violations: no-changed-when: Commands should not change things if nothing needs doing. Signed-off-by: Pavel Bar <[email protected]> Bug-Url: https://bugzilla.redhat.com/2097332
Configuration menu - View commit details
-
Copy full SHA for a7f00ed - Browse repository at this point
Copy the full SHA a7f00edView commit details -
Remove last "disaster_recovery" & "remove_stale_lun" roles exclusions.
This PR handled the remaining "ansible-lint" version 6.0.0 violations for "disaster_recovery" & "remove_stale_lun" roles. The only thing that's left are "ignore-errors" *warnings*. After some discussions those should be ignored. The ".ansible-lint" file for default ignores will be added by mnecas. Signed-off-by: Pavel Bar <[email protected]> Bug-Url: https://bugzilla.redhat.com/2097332
Configuration menu - View commit details
-
Copy full SHA for 20f3061 - Browse repository at this point
Copy the full SHA 20f3061View commit details -
Configuration menu - View commit details
-
Copy full SHA for d10e334 - Browse repository at this point
Copy the full SHA d10e334View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dc52af - Browse repository at this point
Copy the full SHA 5dc52afView commit details