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:
parent
75ba870f3c
commit
fe79e12180
|
@ -370,12 +370,3 @@ class CallbackModule(CallbackBase):
|
||||||
|
|
||||||
LOG.debug('closing database')
|
LOG.debug('closing database')
|
||||||
db.session.close()
|
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')
|
|
||||||
|
|
Loading…
Reference in New Issue