mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
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.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
tasks:
|
||||
- name: Include users.json
|
||||
ansible.builtin.include_vars:
|
||||
file: users.json # noqa 505
|
||||
file: users.json # noqa missing-import
|
||||
|
||||
- name: Create dict with user names
|
||||
ansible.builtin.set_fact:
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
tasks:
|
||||
- name: Include users.json
|
||||
ansible.builtin.include_vars:
|
||||
file: users.json # noqa 505
|
||||
file: users.json # noqa missing-import
|
||||
|
||||
- name: Users present len:{{ users | length }}
|
||||
ipauser:
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
tasks:
|
||||
- name: Include users.json
|
||||
ansible.builtin.include_vars:
|
||||
file: users.json # noqa 505
|
||||
file: users.json # noqa missing-import
|
||||
- name: Size of users slice.
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ users | length }}"
|
||||
|
||||
Reference in New Issue
Block a user