<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ansible-role-prometheus-target/defaults, branch v1.2.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 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 specify target path prefix</title>
<updated>2023-06-11T16:53:04+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin.wilk@tum.de</email>
</author>
<published>2023-06-11T16:53:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=232bdca2add4253981b0873188663069f74a0610'/>
<id>232bdca2add4253981b0873188663069f74a0610</id>
<content type='text'>
This will decrease the amount of redundant configuration for users by
allowing them to specify a general prefix on global / exporter / play
level

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 will decrease the amount of redundant configuration for users by
allowing them to specify a general prefix on global / exporter / play
level

Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ability to configure default exporters</title>
<updated>2023-05-30T16:38:12+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin.wilk@tum.de</email>
</author>
<published>2023-05-30T16:37:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=139a3ebd76e6cb941776b03ead04c98f3a74b7f6'/>
<id>139a3ebd76e6cb941776b03ead04c98f3a74b7f6</id>
<content type='text'>
Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add become_user and become_method config variables to handlers</title>
<updated>2023-05-30T16:38:11+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin.wilk@tum.de</email>
</author>
<published>2023-05-30T15:04:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=fcf5bf4d03c9a92f618c4ed2cb56484ed4ed4bb8'/>
<id>fcf5bf4d03c9a92f618c4ed2cb56484ed4ed4bb8</id>
<content type='text'>
Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to 4 space indentation by default for lineinfile strategy</title>
<updated>2023-05-29T08:39:12+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin.wilk@tum.de</email>
</author>
<published>2023-05-29T08:39:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=3e545357833872a6c344169000c035802a43f97a'/>
<id>3e545357833872a6c344169000c035802a43f97a</id>
<content type='text'>
This will change indentation in target files like:

- labels:
    exporter: node
  targets:
  - host:9100

to

- labels:
    exporter: node
  targets:
    - host:9100

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 will change indentation in target files like:

- labels:
    exporter: node
  targets:
  - host:9100

to

- labels:
    exporter: node
  targets:
    - host:9100

Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add documentation for defaults</title>
<updated>2023-05-27T19:03:51+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin.wilk@tum.de</email>
</author>
<published>2023-05-27T19:00:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=bdddf45831658a96400b3913ee6c2fb8d63cb94a'/>
<id>bdddf45831658a96400b3913ee6c2fb8d63cb94a</id>
<content type='text'>
Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Make prometheus_target_host a required variable</title>
<updated>2023-05-27T18:30:53+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin.wilk@tum.de</email>
</author>
<published>2023-05-27T18:30:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=1471f59fb0ffa3ff959e6a1a2811fb16c14c7f07'/>
<id>1471f59fb0ffa3ff959e6a1a2811fb16c14c7f07</id>
<content type='text'>
Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to single host per exporter configuration</title>
<updated>2023-05-27T17:57:38+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin.wilk@tum.de</email>
</author>
<published>2023-05-27T17:57:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=0b2823d40892ffca4c0c64536c6a821cebaf3ff6'/>
<id>0b2823d40892ffca4c0c64536c6a821cebaf3ff6</id>
<content type='text'>
Before you could do multiple hosts per exporter like this:

- id: node_exporter
  hosts:
    - host1
    - host2

This was removed since it simplifies the code quite a bit and you can
still archive the same behavior like this:

- { id: node_exporter, host: host1 }
- { id: node_exporter, host: host2 }

Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before you could do multiple hosts per exporter like this:

- id: node_exporter
  hosts:
    - host1
    - host2

This was removed since it simplifies the code quite a bit and you can
still archive the same behavior like this:

- { id: node_exporter, host: host1 }
- { id: node_exporter, host: host2 }

Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Move hook ansible module config into their own config object</title>
<updated>2023-05-26T21:51:14+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin.wilk@tum.de</email>
</author>
<published>2023-05-26T21:51:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=86becf489d216cb6de226d544ca128696f41357e'/>
<id>86becf489d216cb6de226d544ca128696f41357e</id>
<content type='text'>
Keep
* prometheus_target_handler_command_enabled
* prometheus_target_handler_command_become
* prometheus_target_handler_shell_enabled
* prometheus_target_handler_shell_become
to avoid being overwritten when specifying
prometheus_target_handler_command or prometheus_target_handler_shell

Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Keep
* prometheus_target_handler_command_enabled
* prometheus_target_handler_command_become
* prometheus_target_handler_shell_enabled
* prometheus_target_handler_shell_become
to avoid being overwritten when specifying
prometheus_target_handler_command or prometheus_target_handler_shell

Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>init</title>
<updated>2023-05-26T17:59:24+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin.wilk@tum.de</email>
</author>
<published>2023-05-26T17:59:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-prometheus-target.git/commit/?id=9db96602063e6ceb3cb8e819a8e942f28061bb42'/>
<id>9db96602063e6ceb3cb8e819a8e942f28061bb42</id>
<content type='text'>
Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
