Skip to content

Commit 9dc560b

Browse files
authored
fix considering wait_for as relevant task (#25)
fix considering wait_for as relevant task ansible may report into the callback plugin FQCN names. Extend the is_intersting check with FQCN names. update to otce 0.22.0 to repair cce project cleanup Reviewed-by: None <None> Reviewed-by: OpenTelekomCloud Bot <None>
1 parent c5b83ec commit 9dc560b

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

apimon/ansible/callback/apimon_profiler.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,12 @@ def is_task_interesting(self, task):
234234
or task.action.startswith('openstack')
235235
# This is bad, but what else can we do?
236236
or task.action[:3] in ['rds', 'cce']
237-
or task.action in ('script', 'command',
238-
'wait_for_connection', 'wait_for')
237+
or task.action in (
238+
'script', 'ansible.builtin.script',
239+
'command', 'ansible.builtint.command',
240+
'wait_for_connection',
241+
'ansible.builtin.wait_for_connection',
242+
'wait_for', 'ansible.builtin.wait_for')
239243
)
240244
)
241245

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
features:
3+
- |
4+
Rebase to OTCE 0.22 to make use of the repaired CCE project cleanup
5+
fixes:
6+
- |
7+
For selected ansible modules (in the is_interesting comarison) use also FQCN.

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
ansible==4.2.0
1+
ansible==4.4.0
22
gear
3-
otcextensions==0.19.0
3+
otcextensions==0.22.0
44
openstacksdk
55
GitPython
66
statsd

0 commit comments

Comments
 (0)