Stop handling Ansible<2.2 specific callback workaround

Ansible <2.2 versions are all end of life so ARA no longer supports
them. Clean that up.

Change-Id: Ifd9d7aa8400e0ad9df1e079e8247c25ecbc31dda
This commit is contained in:
David Moreau Simard 2018-02-04 11:16:42 -05:00
parent 75ba870f3c
commit fe79e12180
No known key found for this signature in database
GPG Key ID: 33A07694CBB71ECC
1 changed files with 0 additions and 9 deletions

View File

@ -370,12 +370,3 @@ class CallbackModule(CallbackBase):
LOG.debug('closing database')
db.session.close()
def v2_playbook_on_include(self, included_file):
# Before Ansible 2.2.0.0, "include" tasks were not sent to the
# callbacks as "native" tasks.
if LooseVersion(ansible_version) < LooseVersion('2.2.0'):
for host in included_file._hosts:
LOG.debug('log include file for host %s', host)
self.log_task(IncludeResult(host, included_file._filename),
'ok')