<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ansible-role-prometheus-target/README.md, branch 1.4.0</title>
<subtitle>Ansible role for pushing targets to prometheus instance</subtitle>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/'/>
<entry>
<title>Add documentation for large deployments to README</title>
<updated>2026-08-10T23:30:28+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin@wilk.cx</email>
</author>
<published>2026-08-10T23:30:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=f31bda03a2922d2b7d09be6772a5cf28f0981c8b'/>
<id>f31bda03a2922d2b7d09be6772a5cf28f0981c8b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix some typos in the README</title>
<updated>2026-08-10T23:08:57+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin@wilk.cx</email>
</author>
<published>2026-08-10T23:08:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=3ab5c520e0481f052493beabb1ef2671891e9fde'/>
<id>3ab5c520e0481f052493beabb1ef2671891e9fde</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve README with quickstart example</title>
<updated>2026-08-10T23:07:48+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin@wilk.cx</email>
</author>
<published>2026-08-10T23:07:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=a200923371d215a478b1c4d645480540bd369dc7'/>
<id>a200923371d215a478b1c4d645480540bd369dc7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add `state` option for removing exporters</title>
<updated>2026-08-10T22:54:41+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin@wilk.cx</email>
</author>
<published>2026-08-10T22:54:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=c267536ecfbcf37e68226ade2ed29c3b1f356a98'/>
<id>c267536ecfbcf37e68226ade2ed29c3b1f356a98</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: remove markdownlint.rb</title>
<updated>2026-07-21T17:00:23+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin@wilk.cx</email>
</author>
<published>2026-07-21T17:00:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=d9b5c59a50ac9967dc365f2c8586869d6ef5d9bd'/>
<id>d9b5c59a50ac9967dc365f2c8586869d6ef5d9bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>README make Troubleshooting section more parsable</title>
<updated>2026-02-09T16:28:00+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin@wilk.cx</email>
</author>
<published>2026-02-09T16:28:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=7c09cd35873585a3ea8c02823161bb791fb2f776'/>
<id>7c09cd35873585a3ea8c02823161bb791fb2f776</id>
<content type='text'>
Replace bullet-list troubleshooting items with explicit level-3 headers
in README.md. No textual content was changed — only structure — to
improve Markdown parsing and avoid rendering/parsing errors on Ansible
Galaxy. This change makes the Troubleshooting section easier for
automated parsers to consume.

Signed-off-by: Colin Wilk &lt;colin@wilk.cx&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace bullet-list troubleshooting items with explicit level-3 headers
in README.md. No textual content was changed — only structure — to
improve Markdown parsing and avoid rendering/parsing errors on Ansible
Galaxy. This change makes the Troubleshooting section easier for
automated parsers to consume.

Signed-off-by: Colin Wilk &lt;colin@wilk.cx&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for YAML strategy</title>
<updated>2026-02-09T16:23:57+00:00</updated>
<author>
<name>Magnus Kühne</name>
<email>73171182+magkue@users.noreply.github.com</email>
</author>
<published>2026-02-09T16:23:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=049689c124a274870b5405ff6816beeba7d94a14'/>
<id>049689c124a274870b5405ff6816beeba7d94a14</id>
<content type='text'>
Introduces a new 'yaml' strategy using Ansible's `from_yaml` to read
target files. This allows users to group multiple targets with
distinct label sets (e.g., severity or job) within a single file,
optimizing Prometheus file-based service discovery.

- Refactored task structure into `strategy_*.yml` for consistency.
- Extracted shared exporter variable computation.
- Implemented label merging where exporter labels override defaults.
- Included support for groups and hosts without labels to prevent crashes.

PR: (#1) https://github.com/kliwniloc/ansible-role-prometheus-target/pull/1</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduces a new 'yaml' strategy using Ansible's `from_yaml` to read
target files. This allows users to group multiple targets with
distinct label sets (e.g., severity or job) within a single file,
optimizing Prometheus file-based service discovery.

- Refactored task structure into `strategy_*.yml` for consistency.
- Extracted shared exporter variable computation.
- Implemented label merging where exporter labels override defaults.
- Included support for groups and hosts without labels to prevent crashes.

PR: (#1) https://github.com/kliwniloc/ansible-role-prometheus-target/pull/1</pre>
</div>
</content>
</entry>
<entry>
<title>Add Troubleshooting information to README</title>
<updated>2023-10-11T14:25:07+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin.wilk@tum.de</email>
</author>
<published>2023-10-11T14:25:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=d8e564b349532a4b5c3a68468205778a7e16abc8'/>
<id>d8e564b349532a4b5c3a68468205778a7e16abc8</id>
<content type='text'>
This added information about the possible ssh-server overloading and
run_once locking issues.

Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This added information about the possible ssh-server overloading and
run_once locking issues.

Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add run_once option for handlers</title>
<updated>2023-10-11T13:49:45+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin.wilk@tum.de</email>
</author>
<published>2023-10-11T13:34:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=c9c812343831be1bb56965b2aeff41eecdae0a11'/>
<id>c9c812343831be1bb56965b2aeff41eecdae0a11</id>
<content type='text'>
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 &lt;colin.wilk@tum.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;colin.wilk@tum.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ability to use exporter without id property</title>
<updated>2023-06-15T20:52:07+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin.wilk@tum.de</email>
</author>
<published>2023-06-15T20:40:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=579b168b2c93daee67ede17ee3289da1678b3833'/>
<id>579b168b2c93daee67ede17ee3289da1678b3833</id>
<content type='text'>
The id property of the exporter is used for checking the default values
specified in `prometheus_target_exporter_defaults` variable.
However when both the `host` and the `path` fields are specified
manually in the `prometheus_target_exporter` list this id is never
looked up.
The way the templating was handled however, still resulted in an error
when leaving out the id field.
The templating code was now rewritten to allow for the following
exporter configuraion to run:

prometheus_target_exporter:
- { host: exporter_without_id, path: /opt/simple_target4.yml }

Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The id property of the exporter is used for checking the default values
specified in `prometheus_target_exporter_defaults` variable.
However when both the `host` and the `path` fields are specified
manually in the `prometheus_target_exporter` list this id is never
looked up.
The way the templating was handled however, still resulted in an error
when leaving out the id field.
The templating code was now rewritten to allow for the following
exporter configuraion to run:

prometheus_target_exporter:
- { host: exporter_without_id, path: /opt/simple_target4.yml }

Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
