No Description
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.

sovereign 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. ---
  2. ################################################################################
  3. # Set your variables here.
  4. ################################################################################
  5. secret_root: '{{ inventory_dir | realpath }}'
  6. secret_name: 'secret'
  7. secret: '{{ secret_root + "/" + secret_name }}'
  8. domain: (required)
  9. server_name: (required)
  10. server_fqdn: "{{ server_name }}.{{ domain }}"
  11. main_user_name: (required)
  12. main_user_shell: "/usr/bin/zsh"
  13. admin_email: "{{ main_user_name }}@{{ domain }}"
  14. virtual_domains:
  15. - name: "{{ domain }}"
  16. doc_root: "/var/www/{{ domain }}"
  17. mail_virtual_users:
  18. - account: "{{ main_user_name }}"
  19. domain: "{{ domain }}"
  20. password: "{{ lookup('password', secret + '/' + 'mail_main_user_password length=20') | doveadm_pw_hash }}"
  21. sendonly: 0
  22. - account: "noreply"
  23. domain: "{{ domain }}"
  24. password: "{{ lookup('password', secret + '/' + 'mail_noreply_password length=20') | doveadm_pw_hash }}"
  25. sendonly: 1
  26. mail_virtual_aliases:
  27. - source: "root@{{ domain }}"
  28. destination: "{{ admin_email }}"
  29. - source: "postmaster@{{ domain }}"
  30. destination: "{{ admin_email }}"
  31. - source: "webmaster@{{ domain }}"
  32. destination: "{{ admin_email }}"
  33. - source: "abuse@{{ domain }}"
  34. destination: "{{ admin_email }}"
  35. common_timezone: 'Etc/UTC'
  36. irc_nick: (required)
  37. irc_altnick: (required)
  38. irc_ident: (required)
  39. irc_realname: (required)
  40. irc_quitmsg: (required)
  41. monit_alert_emails:
  42. - "{{ admin_email }}"
  43. # - "PUSHOVER_KEY@pomail.net"
  44. openvpn_clients:
  45. - laptop
  46. - phone
  47. - tablet
  48. # use servers tailored to the server location
  49. # See http://www.pool.ntp.org/en/use.html
  50. #ntp_servers:
  51. # - 0.de.pool.ntp.org
  52. # - 1.de.pool.ntp.org
  53. # - 2.de.pool.ntp.org
  54. # - 3.de.pool.ntp.org