main.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ---
  2. galaxy_info:
  3. role_name: fdroid
  4. author: hacklab underscore
  5. description: install an fdroid server and gplaycli tool
  6. company: cisti.org
  7. min_ansible_version: 1.2
  8. platforms:
  9. - name: Debian
  10. versions:
  11. - buster
  12. dependencies:
  13. - role: nginxinc.nginx
  14. - role: nginxinc.nginx_config
  15. vars:
  16. nginx_config_http_template_enable: true
  17. nginx_config_http_template:
  18. app:
  19. template_file: http/default.conf.j2
  20. conf_file_name: default.conf
  21. conf_file_location: /etc/nginx/conf.d/
  22. servers:
  23. server1:
  24. listen:
  25. listen_localhost:
  26. port: 80
  27. server_name: localhost
  28. web_server:
  29. locations:
  30. main_site:
  31. location: /
  32. html_file_location: "{{ fdroid_html_dir }}"
  33. autoindex: true
  34. - role: stable/restic
  35. when: with_backup | bool
  36. vars:
  37. restic_folders: ['{{ fdroid_repo_dir }}']