Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

main.yml 1.2KB

12345678910111213141516171819202122232425262728
  1. grafana_subdomain: "iot"
  2. grafana_domain: "{{ grafana_subdomain }}.{{ domain }}"
  3. grafana_internal_port: '2942'
  4. mqtt_admin_version: '1.0.0'
  5. mqtt_admin_release: "https://github.com/hobbyquaker/mqtt-admin/releases/download/v{{ mqtt_admin_version }}/mqtt-admin_{{ mqtt_admin_version }}.zip"
  6. secret_root: '{{ inventory_dir | realpath }}'
  7. secret_name: 'secret'
  8. secret: '{{ secret_root + "/" + secret_name }}'
  9. grafana_main_user: "{{ main_user_name }}"
  10. grafana_main_user_password: "{{ lookup('password', secret + '/' + 'grafana_main_user_password length=20 chars=hexdigits') }}"
  11. mosquitto_users:
  12. - name: "{{ main_user_name }}"
  13. password: "{{ lookup('password', secret + '/' + 'mosquitto_main_user_password length=20 chars=hexdigits') }}"
  14. grafana_signing_key: "{{ lookup('password', secret + '/' + 'grafana_signing_key length=20 chars=hexdigits') }}"
  15. grafana_db_username: grafanauser
  16. grafana_db_password: "{{ lookup('password', secret + '/' + 'grafana_db_password length=32 chars=hexdigits') }}"
  17. grafana_db_database: grafana
  18. # must match values in roles/common
  19. db_admin_username: 'postgres'
  20. db_admin_password: "{{ lookup('password', secret + '/' + 'db_admin_password length=32') }}"