main.yml 474 B

12345678910111213141516171819202122
  1. ---
  2. dependencies:
  3. # install nodejs
  4. - role: stable/nodejs
  5. # install postgres
  6. # and create an etherpad user and db
  7. - role: stable/postgresql
  8. vars:
  9. username: etherpad
  10. password: "{{ database_password }}"
  11. database: etherpad
  12. # install caddy and configure it as reverse proxy
  13. # - role: caddy
  14. # when: with_nginx | bool
  15. # vars:
  16. # caddy_config: |
  17. # {{hostname}}
  18. # encode gzip
  19. # reverse_proxy localhost:31337