Skip to content

Commit

Permalink
Add Telemetry bootc compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan Shephard <[email protected]>
  • Loading branch information
bshephar committed Dec 12, 2024
1 parent 216ec24 commit 37f03ea
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions roles/edpm_telemetry/tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,10 @@
mode: "0644"
owner: ceilometer
group: ceilometer

- name: Start ceilometer_agent_compute container - bootc
ansible.builtin.systemd_service:
name: edpm-compute@ceilometer_agent_compute
state: started
enabled: true
when: bootc
9 changes: 9 additions & 0 deletions roles/edpm_telemetry/tasks/exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,18 @@
edpm_container_manage_healthcheck_disabled: true
edpm_container_manage_config_patterns: "{{ exporter }}.json"
edpm_container_manage_clean_orphans: false
when: not bootc

- name: Restart exporter container
become: true
ansible.builtin.systemd:
state: restarted
name: "edpm_{{ exporter }}.service"
when: not bootc

- name: Deploy exporter container - bootc
ansible.builtin.systemd_service:
name: edpm-compute@node_exporter
state: started
enabled: true

0 comments on commit 37f03ea

Please sign in to comment.