Skip to content

Commit

Permalink
Move some variables
Browse files Browse the repository at this point in the history
  • Loading branch information
drmatthews committed Dec 21, 2023
1 parent 8c5c55b commit a8d7ca1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
monitoring_client_certificate_cache_directory: "{{ docker_client_certificate_cache_directory }}"
monitoring_client_exporter_password: password
# mirsg.infrastructure.monitoring_client
monitoring_client_monitoring_server_ip: "{{ hostvars['mserv']['ansible_ip'] }}"
monitoring_client_owner: root
monitoring_client_group: root
monitoring_client_cert_dir: /root/monitoring_certs
monitoring_client_ssl_key_file: /root/monitoring_certs/key.pem
monitoring_client_ssl_csr_file: /root/monitoring_certs/monitoring.csr
monitoring_client_ssl_pk8_file: /root/monitoring_certs/monitoring.pk8
monitoring_client_ssl_cert_file: /root/monitoring_certs/cert.pem
monitoring_client_server_ca_cert_file: /root/monitoring_certs/ca.pem

Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
# mirsg.infrastructure.monitoring_client
monitoring_client_certificate_cache_directory: "{{ lookup('env', 'HOME') }}/ansible_persistent_files/monitoring_server_certificates"
monitoring_client_monitoring_server_ip: "{{ hostvars['mserv']['ansible_ip'] }}"
monitoring_client_owner: root
monitoring_client_group: root
monitoring_client_cert_dir: /root/monitoring_certs
monitoring_client_ssl_key_file: /root/monitoring_certs/key.pem
monitoring_client_ssl_csr_file: /root/monitoring_certs/monitoring.csr
monitoring_client_ssl_pk8_file: /root/monitoring_certs/monitoring.pk8
monitoring_client_ssl_cert_file: /root/monitoring_certs/cert.pem
monitoring_client_server_ca_cert_file: /root/monitoring_certs/ca.pem
monitoring_client_certificate_file: "{{ hostvars[inventory_hostname]['hostname'] }}.cert"
monitoring_client_exporter_username: prometheus
monitoring_client_exporter_password: prometheus
monitoring_client_certificate_file: "{{ hostvars['mclient']['hostname'] }}.cert"

# mirsg.infrastructure.monitoring_server
monitoring_server_certificate_cache_directory: "{{ monitoring_client_certificate_cache_directory }}"
Expand Down

0 comments on commit a8d7ca1

Please sign in to comment.