Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

31 lines
997 B

  1. # SPDX-FileCopyrightText: 2017 - 2025 Slavi Pantaleev
  2. # SPDX-FileCopyrightText: 2018 - 2022 MDAD project contributors
  3. # SPDX-FileCopyrightText: 2019 Stuart Mumford
  4. # SPDX-FileCopyrightText: 2020 Béla Becker
  5. # SPDX-FileCopyrightText: 2020 Chris van Dijk
  6. # SPDX-FileCopyrightText: 2020 Horvath Gergely
  7. # SPDX-FileCopyrightText: 2022 Sebastian Gumprich
  8. # SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara
  9. # SPDX-FileCopyrightText: 2024 László Várady
  10. #
  11. # SPDX-License-Identifier: AGPL-3.0-or-later
  12. ---
  13. - name: Ensure Matrix base paths exists
  14. ansible.builtin.file:
  15. path: "{{ item }}"
  16. state: directory
  17. mode: "{{ matrix_base_data_path_mode }}"
  18. owner: "{{ matrix_user_name }}"
  19. group: "{{ matrix_group_name }}"
  20. with_items:
  21. - "{{ matrix_base_data_path }}"
  22. - "{{ matrix_bin_path }}"
  23. - name: Ensure remove-all script created
  24. ansible.builtin.template:
  25. src: "{{ role_path }}/templates/bin/remove-all.j2"
  26. dest: "{{ matrix_bin_path }}/remove-all"
  27. mode: 0750