main.yml 810 B

123456789101112131415161718192021222324252627
  1. gogs_group: git
  2. gogs_user: gogs
  3. gogs_home: /opt/gogs
  4. gogs_version: 0.11.4
  5. gogs_os: linux
  6. gogs_arch: amd64
  7. gogs_archive_format: tar.gz
  8. gogs_package_name: "{{ gogs_os }}_{{gogs_arch}}.{{ gogs_archive_format }}"
  9. gogs_package_url: "https://dl.gogs.io/{{ gogs_version}}/{{ gogs_package_name }}"
  10. gogs_archive: "{{ ansible_env.HOME }}/{{ gogs_package_name }}"
  11. gogs_repo_dir: "{{ gogs_home }}/repo"
  12. gogs_config_file: "{{ gogs_home }}/gogs/custom/conf/app.ini"
  13. gogs_sqlite_dir: "{{ gogs_home }}/db"
  14. gogs_sqlite_path: "{{ gogs_sqlite_dir }}/gogs.db"
  15. gogs_cfg_app_name: FFDO git service
  16. gogs_cfg_mode: prod # Either "dev", "prod" or "test"
  17. gogs_cfg_offline_mode: true
  18. gogs_markdown_hard_line_break: false
  19. gogs_cfg_secret_key: "please_change_this"
  20. # server
  21. gogs_protocol: http
  22. gogs_domain: git.ffdo.de
  23. gogs_port: 3000