Matrix Docker Ansible eploy
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

30 líneas
853 B

  1. ---
  2. - name: Ensure Matrix riot-web paths exists
  3. file:
  4. path: "{{ matrix_nginx_riot_web_data_path }}"
  5. state: directory
  6. mode: 0750
  7. owner: "{{ matrix_user_username }}"
  8. group: "{{ matrix_user_username }}"
  9. - name: Ensure riot-web Docker image is pulled
  10. docker_image:
  11. name: "{{ docker_riot_image }}"
  12. - name: Ensure Matrix riot-web configured
  13. template:
  14. src: "{{ role_path }}/templates/riot-web/{{ item }}.j2"
  15. dest: "{{ matrix_nginx_riot_web_data_path }}/{{ item }}"
  16. mode: 0644
  17. owner: "{{ matrix_user_username }}"
  18. group: "{{ matrix_user_username }}"
  19. with_items:
  20. - "riot.im.conf"
  21. - "config.json"
  22. - name: Ensure matrix-riot-web.service installed
  23. template:
  24. src: "{{ role_path }}/templates/systemd/matrix-riot-web.service.j2"
  25. dest: "/etc/systemd/system/matrix-riot-web.service"
  26. mode: 0644