You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run ansible-lint --fix my file will have the null value removed, the second run of ansible-lint --fix will fail due to yamllint empty-values rule being enabled. I expect ansible-lint --fix to not remove the null value.
Summary
I would like to enable the yamllint empty-value rule.
I created a .yamllint.yml file with the following content:
When I run
ansible-lint --fix
my file will have thenull
value removed, the second run ofansible-lint --fix
will fail due to yamllintempty-values
rule being enabled. I expectansible-lint --fix
to not remove thenull
value.Example change caused by
ansible-lint --fix
:Issue Type
OS / ENVIRONMENT
STEPS TO REPRODUCE
Desired Behavior
I expected
ansible-lint --fix
to not delete the null value frommy_nice_var
The text was updated successfully, but these errors were encountered: