Project

Profile

Help

Issue #9302

"'static' is not a valid attribute for a HandlerTaskInclude " error when installer runs with ansible-core 'devel' branch

Added by simaishi about 2 months ago. Updated about 1 month ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Installer
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

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.

Associated revisions

Revision 7b88f061 View on GitHub
Added by Fabricio Aguiar about 2 months ago

Address ansible-core deprecations

closes #9302

Revision 7b88f061 View on GitHub
Added by Fabricio Aguiar about 2 months ago

Address ansible-core deprecations

closes #9302

History

#1 Updated by fao89 about 2 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89
  • Triaged changed from No to Yes

#2 Updated by pulpbot about 2 months ago

  • Status changed from ASSIGNED to POST

#3 Updated by Anonymous about 2 months ago

  • Status changed from POST to MODIFIED

#4 Updated by fao89 about 1 month ago

  • Sprint/Milestone set to 3.15.2

#5 Updated by pulpbot about 1 month ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF