"'static' is not a valid attribute for a HandlerTaskInclude " error when installer runs with ansible-core 'devel' branch
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 Anonymous about 1 year ago
- Status changed from POST to MODIFIED
Applied in changeset ansible-pulp|7b88f061f1388db4319cbfbd727805dd849ed851.