aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorColin Wilk <colin.wilk@tum.de>2023-10-11 15:34:10 +0200
committerColin Wilk <colin.wilk@tum.de>2023-10-11 15:49:45 +0200
commitc9c812343831be1bb56965b2aeff41eecdae0a11 (patch)
tree4a5eec53821831cfc746788f631e8b283bfebe3b /CHANGELOG.md
parent6da60ee68e98d97f2c58ea7dca39d85c9b81370b (diff)
downloadansible-role-prometheus-target-c9c812343831be1bb56965b2aeff41eecdae0a11.tar.gz
ansible-role-prometheus-target-c9c812343831be1bb56965b2aeff41eecdae0a11.zip
Add run_once option for handlers
This adds the run_once option for the two handler types (shell and command). The variables `prometheus_target_handler_command_run_once` and `prometheus_target_handler_shell_run_once` are introduced to control this behavior. For this change a switch from the Ansible Handlers to regular tasks was necessary to enforce run_once behavior with delegated hosts. If you don't rely on handler specific features such as deferring, nothing changes when using the role. Signed-off-by: Colin Wilk <colin.wilk@tum.de>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md15
1 files changed, 13 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5eb3f70..e5721e0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,8 +1,19 @@
# Changelog
+## [1.2.0] - 2023-10-11
+
+### Added
+
+- Add `run_once` option for command and shell handlers.
+
+### Changed
+
+- Handlers now use Ansible tasks instead of handlers to allow `run_once`
+ option to work properly.
+
## [1.1.0] - 2023-06-15
### Added
-- Prefix option for target files (`579b168`)
-- Ability to define exporters without id (`232bdca`)
+- Prefix option for target files (`579b168`).
+- Ability to define exporters without id (`232bdca`).