Matrix Docker Ansible eploy
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 

28 行
915 B

  1. # SPDX-FileCopyrightText: 2024 Slavi Pantaleev
  2. #
  3. # SPDX-License-Identifier: AGPL-3.0-or-later
  4. ---
  5. - name: Ensure matrix-appservice-double-puppet paths exist
  6. ansible.builtin.file:
  7. path: "{{ item.path }}"
  8. state: directory
  9. mode: 0750
  10. owner: "{{ matrix_user_name }}"
  11. group: "{{ matrix_group_name }}"
  12. with_items:
  13. - path: "{{ matrix_appservice_double_puppet_base_path }}"
  14. when: true
  15. - path: "{{ matrix_appservice_double_puppet_config_path }}"
  16. when: true
  17. when: item.when | bool
  18. - name: Ensure matrix-appservice-double-puppet registration configuration installed
  19. ansible.builtin.copy:
  20. content: "{{ matrix_appservice_double_puppet_registration_configuration | to_nice_yaml(indent=2, width=999999) }}"
  21. dest: "{{ matrix_appservice_double_puppet_config_path }}/registration.yaml"
  22. mode: 0644
  23. owner: "{{ matrix_user_name }}"
  24. group: "{{ matrix_group_name }}"