mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-11-28 07:56:36 +00:00
fcdf86b31c
This commit appends the README.md to state that yaml files should start with `---` and end with `...`. This also addresses some linting warnings that were not appearing during pre-commit on local system.
43 lines
942 B
YAML
43 lines
942 B
YAML
---
|
|
# monitoring
|
|
|
|
monitoring_server_firewall_rules:
|
|
- port: 80/tcp
|
|
permanent: true
|
|
state: enabled
|
|
- port: 443/tcp
|
|
permanent: true
|
|
state: enabled
|
|
- port: 9100/tcp
|
|
permanent: true
|
|
state: enabled
|
|
- port: 3000/tcp
|
|
permanent: true
|
|
state: enabled
|
|
- port: 9090/tcp
|
|
permanent: true
|
|
state: enabled
|
|
- port: 9093/tcp
|
|
permanent: true
|
|
state: enabled
|
|
|
|
monitoring_tls_ca_cert: "/etc/pki/tls/certs/ca-bundle.crt"
|
|
monitoring_tls_cert: "/etc/pki/tls/certs/{{ ansible_fqdn }}.crt"
|
|
monitoring_tls_key: "/etc/pki/tls/private/{{ ansible_fqdn }}.key"
|
|
|
|
ipa_getcert_requested_hostnames:
|
|
- name: "{{ ansible_fqdn }}"
|
|
owner: grafana
|
|
key_location: "{{ monitoring_tls_key }}"
|
|
cert_location: "{{ monitoring_tls_cert }}"
|
|
postcmd: "/bin/systemctl restart grafana"
|
|
|
|
# prometheus_targets:
|
|
# node:
|
|
# - targets:
|
|
# - host1
|
|
# - host2
|
|
# labels:
|
|
# env: production
|
|
...
|