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.
 
 

23 lines
610 B

  1. # SPDX-FileCopyrightText: 2024 MDAD Team and contributors
  2. #
  3. # SPDX-License-Identifier: AGPL-3.0-or-later
  4. ---
  5. - name: Ensure Matrix base paths exists
  6. ansible.builtin.file:
  7. path: "{{ item }}"
  8. state: directory
  9. mode: "{{ matrix_base_data_path_mode }}"
  10. owner: "{{ matrix_user_username }}"
  11. group: "{{ matrix_user_groupname }}"
  12. with_items:
  13. - "{{ matrix_base_data_path }}"
  14. - "{{ matrix_bin_path }}"
  15. - name: Ensure remove-all script created
  16. ansible.builtin.template:
  17. src: "{{ role_path }}/templates/bin/remove-all.j2"
  18. dest: "{{ matrix_bin_path }}/remove-all"
  19. mode: 0750