Skip to content

Fix deprecation warnings#242

Open
mandre wants to merge 5 commits into
mainfrom
fix-deprecation-warnings
Open

Fix deprecation warnings#242
mandre wants to merge 5 commits into
mainfrom
fix-deprecation-warnings

Conversation

@mandre

@mandre mandre commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

There might be more, this is just a first batch of deprecation warning fixes.

mandre added 5 commits June 23, 2026 11:53
import_role is resolved statically at parse time by ansible-playbook
--syntax-check. The redhat-subscription role is git-cloned at runtime
and the ansible-lint mock only stubs tasks/main.yaml, so
tasks_from: unregister.yml causes a syntax-check failure in CI.

include_role is dynamic and skipped during --syntax-check, avoiding the
failure while being semantically equivalent here (the task is already
guarded by a conditional block).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant