Skip to content

Fix deprecation warnings - #242

Merged
gryf merged 5 commits into
mainfrom
fix-deprecation-warnings
Sep 16, 2026
Merged

gryf merged 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).
@gryf
gryf merged commit acee705 into main Sep 16, 2026
1 check passed
@gryf
gryf deleted the fix-deprecation-warnings branch September 16, 2026 08:00
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.

2 participants