Remove warn argument from command and shell module #64
Annotations
10 errors and 11 warnings
Verify playbook with ansible-lint:
ansible/playbooks/app/all.yml#L1
Unable to retrieve file contents
|
Verify playbook with ansible-lint:
ansible/roles/apparmor/tasks/main.yml#L6
Use FQCN for builtin module actions (set_fact).
|
Verify playbook with ansible-lint:
ansible/roles/apparmor/tasks/main.yml#L23
Use FQCN for builtin module actions (package).
|
Verify playbook with ansible-lint:
ansible/roles/apparmor/tasks/main.yml#L31
Use FQCN for builtin module actions (lineinfile).
|
Verify playbook with ansible-lint:
ansible/roles/apparmor/tasks/main.yml#L48
Use FQCN for builtin module actions (lineinfile).
|
Verify playbook with ansible-lint:
ansible/roles/apparmor/tasks/main.yml#L58
Use FQCN for builtin module actions (set_fact).
|
Verify playbook with ansible-lint:
ansible/roles/apparmor/tasks/main.yml#L66
Use FQCN for builtin module actions (meta).
|
Verify playbook with ansible-lint:
ansible/roles/apparmor/tasks/main.yml#L69
Use FQCN for module actions, such `community.general.mail`.
|
Verify playbook with ansible-lint:
ansible/roles/apparmor/tasks/main.yml#L80
Use FQCN for builtin module actions (shell).
|
Verify playbook with ansible-lint:
ansible/roles/apparmor/tasks/main.yml#L95
Use FQCN for builtin module actions (command).
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Verify playbook with ansible-lint:
ansible/roles/apparmor/tasks/main.yml#L8
Jinja2 spacing could be improved: {{ (apparmor__tunables_dependent | d([]) | list) + (apparmor__global_tunables | d([]) | list) + (apparmor__group_tunables | d([]) | list) + (apparmor__host_tunables | d([]) | list) }} -> {{ (apparmor__tunables_dependent | d([]) | list) + (apparmor__global_tunables | d([]) | list) + (apparmor__group_tunables | d([]) | list) + (apparmor__host_tunables | d([]) | list) }}
|
Verify playbook with ansible-lint:
ansible/roles/apparmor/tasks/main.yml#L8
Jinja2 spacing could be improved: {{ apparmor__global_profile_status | d({}) | combine(apparmor__host_group_profile_status | d({})) | combine(apparmor__host_profile_status | d({})) }} -> {{ apparmor__global_profile_status | d({}) | combine(apparmor__host_group_profile_status | d({})) | combine(apparmor__host_profile_status | d({})) }}
|
Verify playbook with ansible-lint:
ansible/roles/apparmor/tasks/main.yml#L8
Jinja2 spacing could be improved: {{ apparmor__local_dependent_config | d({}) | combine(apparmor__local_config_global | d({})) | combine(apparmor__local_group_config | d({})) | combine(apparmor__local_host_config | d({})) }} -> {{ apparmor__local_dependent_config | d({}) | combine(apparmor__local_config_global | d({})) | combine(apparmor__local_group_config | d({})) | combine(apparmor__local_host_config | d({})) }}
|
Verify playbook with ansible-lint:
ansible/roles/apparmor/tasks/main.yml#L60
Jinja2 spacing could be improved: {{ (apparmor__enabled|d() | bool) and (ansible_cmdline.apparmor|d(0)|string == "1") and (ansible_cmdline.security|d("none") == "apparmor") }} -> {{ (apparmor__enabled | d() | bool) and (ansible_cmdline.apparmor | d(0) | string == "1") and (ansible_cmdline.security | d("none") == "apparmor") }}
|
Verify playbook with ansible-lint:
ansible/roles/apparmor/tasks/main.yml#L71
Jinja2 spacing could be improved: {{ apparmor__mail_to|d([]) | list | join(",") }} -> {{ apparmor__mail_to | d([]) | list | join(",") }}
|
Verify playbook with ansible-lint:
ansible/roles/apt/defaults/main.yml#L58
Jinja2 spacing could be improved: {{ "present" if (apt__distribution in [ "Debian", "Raspbian", "Ubuntu", "Devuan" ]) else "absent" }} -> {{ "present" if (apt__distribution in ["Debian", "Raspbian", "Ubuntu", "Devuan"]) else "absent" }}
|
Verify playbook with ansible-lint:
ansible/roles/apt/defaults/main.yml#L78
Jinja2 spacing could be improved: {{ True if (ansible_virtualization_role is undefined or ansible_virtualization_role not in [ "guest" ]) else False }} -> {{ True if (ansible_virtualization_role is undefined or ansible_virtualization_role not in ["guest"]) else False }}
|
Verify playbook with ansible-lint:
ansible/roles/apt/defaults/main.yml#L103
Jinja2 spacing could be improved: {{ ansible_local.core.cache_valid_time|d(60 * 60 * 24) }} -> {{ ansible_local.core.cache_valid_time | d(60 * 60 * 24) }}
|
Verify playbook with ansible-lint:
ansible/roles/apt/defaults/main.yml#L127
Jinja2 spacing could be improved: {{ "apt-transport-https" if (ansible_distribution_release in [ "wheezy", "jessie", "stretch", "precise", "trusty", "xenial" ]) else [] }} -> {{ "apt-transport-https" if (ansible_distribution_release in ["wheezy", "jessie", "stretch", "precise", "trusty", "xenial"]) else [] }}
|
Verify playbook with ansible-lint:
ansible/roles/apt/defaults/main.yml#L304
Jinja2 spacing could be improved: {{ ansible_lsb.id|d(ansible_distribution) }} -> {{ ansible_lsb.id | d(ansible_distribution) }}
|
Loading