Bug 2078650

Summary: Firewall system role Ansible deprecation warning related to "include"
Product: Red Hat Enterprise Linux 8 Reporter: Rich Megginson <rmeggins>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: David Jež <djez>
Severity: unspecified Docs Contact: Gabi Fialová <gfialova>
Priority: unspecified    
Version: 8.7CC: bfinger, briasmit, djez, elpereir, nhosoi, rhel-cs-system-management-subsystem-qe, spetrosi
Target Milestone: rcKeywords: Triaged
Target Release: 8.7Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:firewall
Fixed In Version: rhel-system-roles-1.18.0-1.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 2061511 Environment:
Last Closed: 2022-11-08 09:41:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2061511    
Bug Blocks:    

Description Rich Megginson 2022-04-25 22:36:43 UTC
+++ This bug was initially created as a clone of Bug #2061511 +++

Description of problem:
When using the Firewall RHEL System Role with Ansible Core 2.12 in RHEL 9 beta, a deprecation warning is shown related to "include"

Version-Release number of selected component (if applicable):
RHEL 9 Beta
Ansible Core 2.12
Latest version of RHEL System Roles available on Automation Hub

How reproducible:
Every time

Steps to Reproduce:
1.  Write a playbook to call Firewall system role
2.  Run playbook with Ansible Core 2.12 in RHEL 9 Beta

Actual results:
$ ansible-playbook -b test.yml -i inventory.yml 
[DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks instead. This feature will be removed in version 2.16. Deprecation warnings 
can be disabled by setting deprecation_warnings=False in ansible.cfg.

Expected results:
No deprecation warnings

--- Additional comment from Rich Megginson on 2022-03-07 17:50:14 UTC ---

There will likely be other similar issues/deprecations we need to fix for ansible-core-2.13 support

Comment 3 Fedora Update System 2022-05-11 01:19:01 UTC
FEDORA-2022-2da3a47337 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2022-05-11 01:25:10 UTC
FEDORA-2022-d6e6c7c37c has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2022-05-11 01:35:31 UTC
FEDORA-2022-671a5d63e6 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 errata-xmlrpc 2022-11-08 09:41:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (rhel-system-roles bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:7568