Matrix Docker Ansible eploy
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

25 行
808 B

  1. # SPDX-FileCopyrightText: 2024 MDAD Team and contributors
  2. #
  3. # SPDX-License-Identifier: AGPL-3.0-or-later
  4. ---
  5. - name: Check existence of matrix-beeper-linkedin service
  6. ansible.builtin.stat:
  7. path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-beeper-linkedin.service"
  8. register: matrix_beeper_linkedin_service_stat
  9. - when: matrix_beeper_linkedin_service_stat.stat.exists | bool
  10. block:
  11. - name: Ensure matrix-beeper-linkedin is stopped
  12. ansible.builtin.service:
  13. name: matrix-beeper-linkedin
  14. state: stopped
  15. enabled: false
  16. daemon_reload: true
  17. - name: Ensure matrix-beeper-linkedin.service doesn't exist
  18. ansible.builtin.file:
  19. path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-beeper-linkedin.service"
  20. state: absent