Ingen beskrivning
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

main.yml 881B

12345678910111213141516171819202122
  1. secret_root: '{{ inventory_dir | realpath }}'
  2. secret_name: 'secret'
  3. secret: '{{ secret_root + "/" + secret_name }}'
  4. gitea_subdomain: "git"
  5. gitea_domain: "{{ gitea_subdomain }}.{{ domain }}"
  6. gitea_version: "1.7.3"
  7. gitea_release: "https://github.com/go-gitea/gitea/releases/download/v{{ gitea_version }}/gitea-{{ gitea_version }}-linux-amd64"
  8. gitea_admin_username: "{{ main_user_name }}"
  9. gitea_admin_password: "{{ lookup('password', secret + '/' + 'gitea_admin_password length=32') }}"
  10. gitea_db_username: giteauser
  11. gitea_db_password: "{{ lookup('password', secret + '/' + 'gitea_db_password length=32') }}"
  12. gitea_db_database: gitea
  13. gitea_secret: "{{ lookup('password', secret + '/' + 'db_admin_password length=14') }}"
  14. # must match values in roles/common
  15. db_admin_username: 'postgres'
  16. db_admin_password: "{{ lookup('password', secret + '/' + 'db_admin_password length=32') }}"