-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix distribution detection on Amazon Linux 2023 (#612)
* add a test to ensure we don't detect amazonlinux as RHEL6 * disable RHEL 6 detection on amazon linux All the supported version have a recent enough glibc, so we can install the most recent agents there. Our RHEL version checking isn't compatible with Amazon linux 2023 which causes us to prevent installing any version above 7.51 there. * pin a specific python version for old ansible versions * don't attempt to use python2 on AL2023 * add debug * ensure AL2023 will use dnf instead of yum
- Loading branch information
1 parent
68e6641
commit f2ed7d4
Showing
3 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
|
||
- hosts: all | ||
roles: | ||
- { role: '/root/project/'} | ||
vars: | ||
datadog_api_key: "11111111111111111111111111111111" | ||
datadog_enabled: false | ||
# Target a version above 7.51 which is the last version supported on RHEL6 and similar | ||
# This is to ensure we don't incorrectly detect some configurations as RHEL6 | ||
datadog_agent_version: '7.53.0' | ||
# avoid checking that the agent is stopped for centos | ||
datadog_skip_running_check: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters