Issue #9302
closed"'static' is not a valid attribute for a HandlerTaskInclude " error when installer runs with ansible-core 'devel' branch
Description
When the installer runs with ansible-core 'devel', it fails with this error:
ERROR! 'static' is not a valid attribute for a HandlerTaskInclude
The error appears to be in '/collections/ansible_collections/pulp/pulp_installer/roles/pulp_common/handlers/main.yml': line 63, column 3, but may be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
by not using include_tasks¶
- name: Restart all Pulp services ^ here
When ran with ansible-core 2.11, this warning appears:
[DEPRECATION WARNING]: The use of 'static' has been deprecated. Use 'import_tasks' for static inclusion, or 'include_tasks' for dynamic inclusion. This feature will be removed from ansible-core in version 2.12
ansible version: ansible [core 2.12.0.dev0]
pulp-installer 3.14.3-1 was used, but 'devel' branch also has the 'static' set.
Updated by fao89 over 3 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to fao89
- Triaged changed from No to Yes
Updated by pulpbot over 3 years ago
- Status changed from ASSIGNED to POST
Added by Fabricio Aguiar over 3 years ago
Added by Fabricio Aguiar over 3 years ago
Revision 7b88f061 | View on GitHub
Address ansible-core deprecations
closes #9302
Updated by Anonymous over 3 years ago
- Status changed from POST to MODIFIED
Applied in changeset ansible-pulp|7b88f061f1388db4319cbfbd727805dd849ed851.
Updated by pulpbot over 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Address ansible-core deprecations
closes #9302