Skip to content

Commit

Permalink
Adopt: placement of alertmanager hosts fails
Browse files Browse the repository at this point in the history
- Task fails as count is set as a string while a number
is expected
- typo service_name instead of service_type

Signed-off-by: Teoman ONAY <[email protected]>
  • Loading branch information
asm0deuz committed Feb 3, 2025
1 parent bf76bde commit c99e52b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infrastructure-playbooks/cephadm-adopt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1485,7 +1485,7 @@
service_id: "{{ ansible_facts['hostname'] }}"
placement:
label: "{{ monitoring_group_name }}"
count: "{{ groups.get(monitoring_group_name, []) | length }}"
count: {{ groups.get(monitoring_group_name, []) | length }}
{% if grafana_server_addr is defined %}
networks:
- {{ grafana_server_addr }}
Expand All @@ -1504,7 +1504,7 @@
ceph_orch_apply:
fsid: "{{ fsid }}"
spec: |
service_name: prometheus
service_type: prometheus
service_id: "{{ ansible_facts['hostname'] }}"
placement:
label: {{ monitoring_group_name }}
Expand Down

0 comments on commit c99e52b

Please sign in to comment.