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
656 B

  1. ---
  2. - name: Ensure Matrix base path exists
  3. ansible.builtin.file:
  4. path: "{{ item }}"
  5. state: directory
  6. mode: "{{ matrix_base_data_path_mode }}"
  7. owner: "{{ matrix_user_username }}"
  8. group: "{{ matrix_user_groupname }}"
  9. with_items:
  10. - "{{ matrix_base_data_path }}"
  11. - name: Ensure Matrix network is created in Docker
  12. community.docker.docker_network:
  13. name: "{{ matrix_docker_network }}"
  14. driver: bridge
  15. - name: Ensure matrix-remove-all script created
  16. ansible.builtin.template:
  17. src: "{{ role_path }}/templates/usr-local-bin/matrix-remove-all.j2"
  18. dest: "{{ matrix_local_bin_path }}/matrix-remove-all"
  19. mode: 0750