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.
 
 

26 líneas
754 B

  1. ---
  2. - name: Check existence of matrix-heisenbridge service
  3. stat:
  4. path: "{{ matrix_systemd_path }}/matrix-heisenbridge.service"
  5. register: matrix_heisenbridge_service_stat
  6. - name: Ensure matrix-heisenbridge is stopped
  7. service:
  8. name: matrix-heisenbridge
  9. state: stopped
  10. enabled: false
  11. daemon_reload: true
  12. when: "matrix_heisenbridge_service_stat.stat.exists"
  13. - name: Ensure matrix-heisenbridge.service doesn't exist
  14. file:
  15. path: "{{ matrix_systemd_path }}/matrix-heisenbridge.service"
  16. state: absent
  17. when: "matrix_heisenbridge_service_stat.stat.exists"
  18. - name: Ensure systemd reloaded after matrix-heisenbridge.service removal
  19. service:
  20. daemon_reload: true
  21. when: "matrix_heisenbridge_service_stat.stat.exists"