DataDog / ansible-datadog

Ansible role for Datadog Agent
Apache License 2.0
297 stars 222 forks source link

Role not compatible with Ansible versions higher than v6.7.0 #564

Closed sriemschuessel closed 4 months ago

sriemschuessel commented 4 months ago

Problem

I'm currently blocked to use the latest version of the role to install the Datadog Agent on machines with SLES 12 SP5 when using any Ansible version higher than v6.7.0 (Ansible-core 2.13).

Reason

The task in https://github.com/DataDog/ansible-datadog/blob/4.22.0/tasks/pkg-suse.yml#L133-L139 and perhaps more rely on the deprecated and in v7 and higher removed feature to mute Ansible warnings.

See Ansible 7 porting guide:

Affected versions


I hope this is detailed enough for you to fix the issue. Thanks

alopezz commented 4 months ago

Thanks for reporting this! A fix has been implemented, I'll try to get the release out as soon as possible.