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.
 
 

16 lines
513 B

  1. ---
  2. - name: Ensure Dendrite paths exist
  3. file:
  4. path: "{{ item.path }}"
  5. state: directory
  6. mode: 0750
  7. owner: "{{ matrix_user_username }}"
  8. group: "{{ matrix_user_groupname }}"
  9. with_items:
  10. - {path: "{{ matrix_dendrite_config_dir_path }}", when: true}
  11. - {path: "{{ matrix_dendrite_ext_path }}", when: true}
  12. - {path: "{{ matrix_dendrite_nats_storage_path }}", when: true}
  13. when: "matrix_dendrite_enabled|bool and item.when"
  14. - import_tasks: "{{ role_path }}/tasks/dendrite/setup.yml"