mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-25 00:44:42 +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:
|
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 @@
|
|||||||
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 @@
|
|||||||
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 }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user