Instead of downloading the `blackbox_exporter` binary from GitHub and copying it to the managed node, the _blackbox-exporter_ role now installs _podman_ and configures a systemd container unit (Quadlet) to run it in a container. This simplifies the deployment considerably, and will make updating easier (just run the playbook with `-e blackbox_exporter_pull_image=true`).
5 lines
82 B
YAML
5 lines
82 B
YAML
- name: ensure podman is installed
|
|
package:
|
|
name: podman
|
|
state: present
|