Sin descripción
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 744B

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