ceph-cm-ansible icon indicating copy to clipboard operation
ceph-cm-ansible copied to clipboard

Ansible Role for deploying grafana-agent

Open akraitman opened this issue 1 year ago • 5 comments

akraitman avatar Apr 24 '23 19:04 akraitman

Could you merge https://github.com/ceph/ceph-cm-ansible/pull/733 first, then rebase this PR onto main? Then the linter will run on this PR.

ktdreyer avatar May 08 '23 19:05 ktdreyer

I don't think we should put variables into main.yml unless we'll set different values for different hosts. You can always template those settings out later and move them to main.yml later in future pull requests.

ktdreyer avatar May 08 '23 19:05 ktdreyer

Adam and I chatted about this PR.

  • These variables exist because Adam sets them with extra_vars when running the playbook interactively on his computer.
  • We discussed the possibility of tracking those particular non-default choices in host_vars or group_vars instead so that we can understand how and why Adam made those choices to alter the values from the defaults.

ktdreyer avatar May 16 '23 20:05 ktdreyer

@akraitman have you resolved all of Ken's earlier issues?

dmick avatar Mar 22 '24 00:03 dmick

@akraitman have you resolved all of Ken's earlier issues?

Yes, I removed the if statement from grafana-agent.yaml.j2 and removed the "agent_metrics" variable from defaults/main.yml

akraitman avatar Mar 26 '24 18:03 akraitman