Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Latest commit

 

History

History
435 lines (340 loc) · 21.5 KB

CHANGELOG.md

File metadata and controls

435 lines (340 loc) · 21.5 KB

CHANGELOG

4.16.0 / 2022-07-11

  • [FEATURE] Add macOS support. See #437. Thanks @lc-applause.
  • [BUGFIX] Remove temporary directory after APT key import. See #442. Thanks @wisnij.
  • [BUGFIX] Prevent security-agent startup if it's not configured. See #438.

4.15.0 / 2022-04-20

  • [IMPROVEMENT] Switch Agent start mode to delayed on Windows. See #422.
  • [BUGFIX] Fix installation of a newer pinned version by DNF. See #429.

4.14.0 / 2022-02-08

  • [FEATURE] Add tasks for creating custom Python checks. See #408. Thanks @snorlaX-sleeps.
  • [FEATURE] Support Rocky Linux and AlmaLinux. See #418.
  • [BUGFIX] Fix provisioning on Python 3 / Amazon Linux 2. See #412. Thanks @moleskin-smile.
  • [BUGFIX] Prevent dependency on ansible.windows with non-Windows nodes. See #416.
  • [BUGFIX] Don't display content of DDAGENTUSER_PASSWORD for Windows nodes. See #415.
  • [BUGFIX] Additional fixes for jinja2_native = True setting. See #414.

4.13.0 / 2022-01-21

  • [FEATURE] Add datadog_manage_config to disable changing the Agent config files. See #410.
  • [BUGFIX] Fix error: dict object has no attribute 'system'. See #409. Thanks @stegar123.

4.12.0 / 2021-11-03

  • [FEATURE] Add Cloud Workload Security Agent configuration. See #375. Thanks @alsmola.
  • [IMPROVEMENT] Avoid usage of ansible_lsb to not depend on lsb-release package on Debian. See #377.
  • [IMPROVEMENT] Check that datadog_checks is a mapping to avoid misconfiguration. See #384. Thanks @soar.
  • [IMPROVEMENT] Enable turning off the Agent 6.14 fix for Windows. See #399.
  • [DOCS] Mention limitations in enabling NPM on Windows. See #396.
  • [BUGFIX] Fix execution with jinja2_native = True. See #383. Thanks @soar.

4.11.0 / 2021-07-05

  • [IMPROVEMENT] Install datadog-signing-keys package on Debian/Ubuntu. See #372.
  • [IMPROVEMENT] Skip install on Linux systems when pinned version is already installed. See #371.
  • [IMPROVEMENT] Update 'http' URLs to 'https' wherever possible. See #369.Thanks @rossigee.
  • [BUGFIX] Detect existing version in check mode on Windows. See #364. Thanks @camjay.

4.10.0 / 2021-05-25

  • [IMPROVEMENT] Make Windows package download behavior in check mode consistent with Linux. See #359. Thanks @camjay.
  • [BUGFIX] Remove indentfirst in system-probe.yaml.j2, making the role compatible with Jinja2 >= 3. See #361. Thanks @tasktop-teho.
  • [BUGFIX] Ensure gnupg is installed on Debian/Ubuntu. See #358.

4.9.0 / 2021-05-06

  • [IMPROVEMENT] Improvements for APT keys management. See #351.
    • By default, get keys from keys.datadoghq.com, not the Ubuntu keyserver.
    • Always add the DATADOG_APT_KEY_CURRENT.public key (contains key used to sign current repodata).
    • Add signed-by option to all sources list lines.
    • On Debian >= 9 and Ubuntu >= 16, only add keys to /usr/share/keyrings/datadog-archive-keyring.gpg.
    • On older systems, also add the same keyring to /etc/apt/trusted.gpg.d.
  • [BUGFIX] Don't set repo_gpgcheck=1 by default on RHEL/CentOS 8.1 and on custom repos. See #352.
  • [BUGFIX] Change RPM key URLs to non-SNI versions to ensure the role continues to work with Python <= 2.7.9. See #353.
  • [DOCS] Add a note about installing marketplace integrations. See #354.

4.8.2 / 2021-04-21

  • [BUGFIX] Another fix for agent not restarting after a configuration change on Windows. See #349.

4.8.1 / 2021-04-19

  • [BUGFIX] Fix Agent not restarting after a configuration change on Windows. See #347.

4.8.0 / 2021-04-13

  • [FEATURE] Add NPM support for Windows. See #335.
  • [IMPROVEMENT] Split Windows handler into its own file, so we don't include anything from ansible.windows on non-Windows; add a note about the dependency on ansible.windows. See #337.
  • [IMPROVEMENT] Turn on repo_gpgcheck on RPM repositories by default. See #341.
  • [IMPROVEMENT] Align Windows agent to Linux so that service is disabled when datadog_enabled is false. See #338. Thanks @erikhjensen.
  • [BUGFIX] Fix system-probe enablement conditions. See #336.
  • [CHORE] Fix issues found by linter (fix file permissions, add role_name and namespace to galaxy_info, remove pre/post tasks). See #340.

4.7.1 / 2021-03-23

  • [BUGFIX] Revert addition of NPM support for Windows, which introduced multiple issues. See #333.

4.7.0 / 2021-03-23

  • [FEATURE] Enable configuring gpgcheck option on RPM repofiles. See #324.
  • [FEATURE] Add NPM support for Windows. See #326.
  • [IMPROVEMENT] Implement usage of multiple GPG keys in repofiles, use keys from keys.datadoghq.com. See #325.
  • [BUGFIX] Use the dnf task instead of yum when we detect that a Python 3 interpreter is used on a target host. See #301.
  • [DOCS] Lint README for Documentation style. See #327.

4.6.0 / 2021-01-11

  • [FEATURE] Allow removing checks. See #151 and #320. Thanks @Jno21.
  • [BUGFIX] Make security-agent also affected by datadog_enabled. See #318.
  • [BUGFIX] Change configuration perms on Linux. See #313. Thanks @loliee.
  • [CHORE] Do not name the RPM repo file differently depending on the Agent version. See #311.
  • [CHORE] Replace facts from 'ansible_*' to using 'ansible_facts' dictionary. See #304. Thanks to @samasc30.

4.5.0 / 2020-11-06

  • [FEATURE] (Windows) Adds support for non-default installation and configuration directories. See #295.
  • [BUGFIX] Fixes handling of nil vs. defined but empty variables. See #303.
  • [BUGFIX] (Windows) Fixes incorrect service name when validating services. See #307.
  • [FEATURE] Adds support for the latest package signing keys. See #308.
  • [FEATURE] Adds support for the Datadog IOT agent. See #309.

4.4.0 / 2020-09-30

  • [BUGFIX] (Windows) Fix compatibility with Ansible 2.10. See #289.
  • [FEATURE] Adds support for 3rd party integrations via the datadog-agent integration command. See #291.
  • [BUGFIX] Updates apt cache prior to attempting install. See #297.

4.3.0 / 2020-07-07

  • [FEATURE] Record installation information for telemetry and troubleshooting purposes. See #281.
  • [BUGFIX] Fix error when facts value doesn't exist on Redhat OS family of the arm architecture. See #283. Thanks to @kanga333.
  • [BUGFIX] (Windows) Fix idempotence when reinstalling same pinned version. See #269.

4.2.1 / 2020-05-04

  • [BUGFIX] Fix error when checking custom repository file on debian-based systems. See #275.

4.2.0 / 2020-04-08

  • [FEATURE] Ensure the start mode when starting on Windows. See #271. Thanks to @DevKyleS.
    • The Agent service will now always be started on Windows at the end of an Ansible run if datadog_enabled is set to true. Previously, if the Agent was already installed, the start mode of the existing Agent service was used (which meant a disabled Agent service would remain disabled after an Ansible run, even with datadog_enabled: true). If you manually disabled the Agent service and want it to remain disabled, set datadog_enabled to false.
  • [FEATURE] Remove old INI config files from v6/v7 configuration. See #271. Thanks to @b2jrock.
  • [FEATURE] Register result when Agent install task is run. See #268.
  • [BUGFIX] Update datadog_additional_groups task & doc. See #267.
  • [BUGFIX] Fix role idempotence on Debian. See #262. Thanks to @jharley.
  • [DOCS] README update: system-probe installation steps. See #257.
  • [DOCS] README update: minimum Ansible version & various fixes. See #264.
  • [DOCS] Documentation (README, CONTRIBUTING) overhaul. See #270.

4.1.1 / 2020-02-10

  • [BUGFIX] Add skip check on sysprobe set_fact tasks. See #259
  • [BUGFIX] Only try to stop sysprobe if it is installed. See #255. Thanks to @dv9io0o.

4.1.0 / 2020-01-20

  • [FEATURE] Fail with explicit message if OS is not supported by the role. See #247
  • [BUGFIX] Ensure that system-probe is stopped if it is disabled or not installed. See #249
  • [BUGFIX] Change default datadog_agent group to dd-agent. See #248
  • [DOCS] Update instructions to use datadog.datadog as the role name. See #246
  • [DOCS] Add development guidelines & small kitchen dev environment. See #243

4.0.1 / 2019-12-23

  • [BUGFIX] Fix system-probe.yaml.j2 indent filter. See #240
  • [BUGFIX] Fix sysprobe service detection for systemd services. See #242
  • [OTHER] Improve ansible-galaxy score by following best practices. See #236
  • [OTHER] Include names for include_tasks. See #226. Thanks to @the-real-cphillips.

4.0.0 / 2019-12-18

This role will install Agent v7 by default. Datadog Agent v7 runs checks with Python 3, so if you were running any custom checks written in Python, they must be compatible with Python 3. If you were not running any custom checks or if your custom checks are already compatible with Python 3, then it is safe to upgrade to Agent v7.

  • [MAJOR] Agent 7 support. See #220.
    • Refer to the role upgrade section of the docs for the complete list of changes and instructions to upgrade this role from v3 to v4.
  • [FEATURE] Infer major version from datadog_agent_version. See #239.
  • [FEATURE] Allow pinned version install on multiple platforms at the same time. See #235.

3.4.0 / 2019-12-18

  • [FEATURE] Reset pinned Windows version. See #234.
  • [DOCS] Add README instructions for Windows hosts. See #233.
  • [META] Update list of platforms supported by the role. See #224.

3.3.0 / 2019-11-18

  • [FEATURE] Blacklist installation of 6.14.0 and 6.14.1 on Windows.
  • [FEATURE] Run fix + sanity check script before agent install/upgrade on Windows.
  • [FEATURE] Adding support for Datadog system-probe (thanks to @jstoja).

3.2.0 / 2019-10-02

  • [DEPRECATION] Drop support for EOL version of Ansible (2.5)
  • [FEATURE] Add the datadog_integration resource to easily control installed integrations.

3.1.0 / 2019-08-30

  • [FEATURE] Trust new RPM key on SUSE. See #203.
  • [IMPROVEMENT] Windows: Add the ability to specify the 'ddagentuser' name and password in the configuration.
  • [FEATURE] Add 'pre_task' and 'post_task' folder for custom user tasks.

3.0.0 / 2019-05-17

  • [FEATURE] On Linux: you can now add the Agent's user to additionnal groups.
  • [DEPRECATION] Bumping this minimum supported Ansible version from 2.2 to 2.5 (version prior from 2.5 are EOL).
  • [IMPROVEMENT] Use 'include_tasks' instead of 'include' which bump minimum ansible version to 2.4 (thanks to @rouge8).
  • [FIX] Make sure the Live Process agent and APM agent aren't started when datadog_enabled is set to false (thanks to @pdecat).

2.6.0 / 2019-03-05

  • [FEATURE] Add support for managing Windows hosts.

2.5.0 / 2019-02-12

  • [IMPROVEMENT] Allow the use of a backup keyserver for apt in case the main one is down.
  • [IMPROVEMENT] Fix configuration items order to be the same between playbook runs (thanks to @jpiron).

2.4.0 / 2018-10-25

  • [FEATURE] Add support for "site" configuration.
  • [IMPROVEMENT] Add retry policy when failing to pull GPG key from keyserver.ubuntu.com

2.3.1 / 2018-08-24

  • [FIX] Disabling repo metadata signature check for SUSE/SLES.

2.3.0 / 2018-07-23

  • [FEATURE] Add support for SUSE/SLES (thanks to @enarciso).

2.2.0 / 2018-06-06

  • [DEPRECATION] Drop support for EOL platform
  • [IMPROVEMENT] Harmonize tasks names between agent5 and agent6 (thanks @xp-1000).

2.1.0 / 2018-05-14

  • [FEATURE] Support "--check" Ansible option for dry-run.
  • [BUGFIX] Fix downgrade on centos.
  • [IMPROVEMENT] Update conf paths to respect agent6 best practice (thanks @dbr1993).
  • [IMPROVEMENT] Fix YAML cosmetics: standardize syntax everywhere (thanks @tomgoren).
  • [DEPRECATION] Drop support for EOL versions of ansible (<2.2).

2.0.3 / 2018-04-13

  • [BUGFIX] Removing legacy http apt repos pre-dating usage of HTTPS. See #116

2.0.2 / 2018-03-27

  • [BUGFIX] Remove empty brackets from datadog.yaml when datadog_config is empty. See #107

2.0.1 / 2018-03-05

  • [BUGFIX] Remove failing import of expired APT key. See #105

1.6.1 / 2018-03-05

  • [BUGFIX] Remove failing import of expired APT key. See #105

2.0.0 / 2018-02-27

  • [RELEASE] Make Agent6 the default version to install.
  • [IMPROVEMENT] Defaulting to HTTPS for apt and yum repo.

1.6.0 / 2018-01-19

  • [IMPROVEMENT] Refresh apt cache every hour. See #98

1.5.0 / 2018-01-05

  • [FEATURE] Add Agent6 (beta) support on RPM-based distros. See #90 (thanks @brendanlong)

1.4.0 / 2017-10-30

  • [FEATURE] Allow specifying custom repo. See #80
  • [FEATURE] Add Agent6 (beta) support on debianoids. See #81
  • [BUGFIX] Fix incorrect handler name in process task. See #68 (thanks @jeffwidman)
  • [SANITY] Improve agent service task name and handler formatting. See #62 and #67 (thanks @jeffwidman)

1.3.0 / 2017-04-04

  • [FEATURE] Add support for configuring trace agent. See #45 and #58 (thanks @pmbauer)
  • [FEATURE] Allow pinning the version of the Agent. See #61
  • [IMPROVEMENT] Pipe datadog_checks through list for python3 support. See #51 (thanks @gtrummell)
  • [IMPROVEMENT] Use ansible-lint on the role and use names on all tasks. See #50 (thanks @eplanet)
  • [BUGFIX] Fix ini format of the datadog.conf file. See #59

1.2.0 / 2016-12-13

  • [FEATURE] Trust new APT and RPM keys. See #30
  • [IMPROVEMENT] Change the state of apt-transport-https from latest to present. See #36
  • [IMPROVEMENT] Convert config file tasks to proper YAML formatting. See #32 (thanks @jeffwidman)

1.1.0 / 2016-06-27

  • [FEATURE] Allow APT repo settings to be user-defined. See #20 (thanks @geoffwright)

1.0.0 / 2016-06-08

Initial release, compatible with Ansible v1 & v2