Skip to content
Snippets Groups Projects
Commit 0d1e9d3f authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

ansible-lint: Use 'missing-import' instead of '505'

ansible-lint is issuing an warning when using '# noqa 505' instead of
'#noqa missing-import' on playbooks. This patch changes all occurrences
of the tag to use the newer format.
parent b30ae1c9
Branches
Tags
No related merge requests found
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
tasks: tasks:
- name: Include users.json - name: Include users.json
ansible.builtin.include_vars: ansible.builtin.include_vars:
file: users.json # noqa 505 file: users.json # noqa missing-import
- name: Create dict with user names - name: Create dict with user names
ansible.builtin.set_fact: ansible.builtin.set_fact:
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
tasks: tasks:
- name: Include users.json - name: Include users.json
ansible.builtin.include_vars: ansible.builtin.include_vars:
file: users.json # noqa 505 file: users.json # noqa missing-import
- name: Users present len:{{ users | length }} - name: Users present len:{{ users | length }}
ipauser: ipauser:
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
tasks: tasks:
- name: Include users.json - name: Include users.json
ansible.builtin.include_vars: ansible.builtin.include_vars:
file: users.json # noqa 505 file: users.json # noqa missing-import
- name: Size of users slice. - name: Size of users slice.
ansible.builtin.debug: ansible.builtin.debug:
msg: "{{ users | length }}" msg: "{{ users | length }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment