We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
if a task uses the old some_key= format ansible-lint --fix mangles it
some_key=
ansible-lint 6.22.1 using ansible-core:2.17.0.dev0 ansible-compat:4.1.10 ruamel-yaml:0.18.5 ruamel-yaml-clib:0.2.8
running ansible-lint --fix against the example YAML results in a junk return value:
ansible-lint --fix
- name: example playbook hosts: localhost tasks: - debug: msg='Hello there world'
--- - name: Example playbook hosts: localhost tasks: - ansible.builtin.debug: msg: "Hello there world"
--- - name: Example playbook hosts: localhost tasks: - ansible.builtin.debug: msg: "'Hello" cmd: there world'
The text was updated successfully, but these errors were encountered:
no-free-form
audgirka
Successfully merging a pull request may close this issue.
Summary
if a task uses the old
some_key=
format ansible-lint --fix mangles itIssue Type
OS / ENVIRONMENT
ansible-lint 6.22.1 using ansible-core:2.17.0.dev0 ansible-compat:4.1.10 ruamel-yaml:0.18.5 ruamel-yaml-clib:0.2.8
STEPS TO REPRODUCE
running
ansible-lint --fix
against the example YAML results in a junk return value:Desired Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: