No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.yml 844B

123456789101112131415161718192021
  1. grafana_subdomain: "iot"
  2. grafana_domain: "{{ grafana_subdomain }}.{{ domain }}"
  3. grafana_internal_port: '2942'
  4. secret_root: '{{ inventory_dir | realpath }}'
  5. secret_name: 'secret'
  6. secret: '{{ secret_root + "/" + secret_name }}'
  7. grafana_main_user: "{{ main_user_name }}"
  8. grafana_main_user_password: "{{ lookup('password', secret + '/' + 'grafana_main_user_password length=20 chars=hexdigits') }}"
  9. grafana_signing_key: "{{ lookup('password', secret + '/' + 'grafana_signing_key length=20 chars=hexdigits') }}"
  10. grafana_db_username: grafanauser
  11. grafana_db_password: "{{ lookup('password', secret + '/' + 'grafana_db_password length=32 chars=hexdigits') }}"
  12. grafana_db_database: grafana
  13. # must match values in roles/common
  14. db_admin_username: 'postgres'
  15. db_admin_password: "{{ lookup('password', secret + '/' + 'db_admin_password length=32') }}"