Bez popisu
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 718B

1234567891011121314151617
  1. secret_root: '{{ inventory_dir | realpath }}'
  2. secret_name: 'secret'
  3. secret: '{{ secret_root + "/" + secret_name }}'
  4. selfoss_domain: "news.{{ domain }}"
  5. selfoss_db_username: selfoss
  6. selfoss_db_password: "{{ lookup('password', secret + '/' + 'selfoss_db_password', length=32) }}"
  7. selfoss_db_database: selfoss
  8. selfoss_version: 2.15
  9. selfoss_username: "{{ main_user_name }}"
  10. # this is the sha512 hash of the desired password
  11. selfoss_password_hash: "{{ lookup('password', secret + '/' + 'selfoss_password_hash', length=32, crypt='sha512')|hash('sha512') }}"
  12. # must match values in roles/mailserver
  13. db_admin_username: 'postgres'
  14. db_admin_password: "{{ lookup('password', secret + '/' + 'db_admin_password', length=32) }}"