common.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. run_preflight_checks: "true"
  2. node_major_version: "16"
  3. os_family: "{{ ansible_os_family|lower }}"
  4. #Please list a valid name of the tag from Mastodon's Github.
  5. #Accepted format is "vX.X.XrcX"
  6. mastodon_version: "latest"
  7. mastodon_allow_prerelease: "false"
  8. mastodon_user: "mastodon"
  9. mastodon_home: "/home/{{ mastodon_user }}"
  10. mastodon_db_user: "{{ mastodon_user }}"
  11. mastodon_path: "live"
  12. mastodon_db: "{{ mastodon_user }}_instance"
  13. mastodon_db_port: 5432
  14. mastodon_nginx_symlink: "/var/www/html/mastodon"
  15. disable_hsts: "false"
  16. disable_letsencrypt: "false"
  17. #Should be filled by user as a raised concern: https://github.com/mastodon/mastodon-ansible/pull/46#discussion_r1064445790
  18. #Format: "webmaster@mastodon.local"
  19. letsencrypt_email: ""
  20. #Use HTTP only for Vagrant testing or for reverse proxy purposes.
  21. #With recent changes to Mastodon, Puma server now enforces HTTPS, and unless you do config
  22. #changes, you will end up in a redirect loop with nginx going to HTTP and puma going to HTTPS over and over again
  23. use_http: "false"
  24. #Nginx will listen to every IP/Domain with this directive. Useful for reverse proxy or testing only.
  25. nginx_catch_all: "false"
  26. redis_host: localhost
  27. redis_port: 6379
  28. db_host: /var/run/postgresql
  29. use_legacy_certbot: "true"
  30. autoupdate_certbot: "false"
  31. self_signed_cert_location: /etc/ssl/certs
  32. self_signed_key_location: /etc/ssl/private
  33. #If you want to append any extra parameters to let's encrypt's certbot
  34. certbot_extra_param: ''