Ei kuvausta
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 837B

123456789101112131415161718192021
  1. mastodon_subdomain: "social"
  2. mastodon_domain: "{{ mastodon_subdomain }}.{{ domain }}"
  3. ruby_version: 2.6.0
  4. rbenv_version: v1.1.1
  5. ruby_build_version: v20181225
  6. secret_root: '{{ inventory_dir | realpath }}'
  7. secret_name: 'secret'
  8. secret: '{{ secret_root + "/" + secret_name }}'
  9. mastodon_db_username: mastodonuser
  10. mastodon_db_password: "{{ lookup('password', secret + '/' + 'mastodon_db_password length=32') }}"
  11. mastodon_db_database: mastodon
  12. mastodon_secret_key_base: "{{ lookup('password', secret + '/' + 'mastodon_secret_key_base length=128 chars=hexdigits') }}"
  13. mastodon_otp_secret: "{{ lookup('password', secret + '/' + 'mastodon_otp_secret length=128 chars=hexdigits') }}"
  14. # must match values in roles/common
  15. db_admin_username: 'postgres'
  16. db_admin_password: "{{ lookup('password', secret + '/' + 'db_admin_password length=32') }}"