Matrix Docker Ansible eploy
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

32 líneas
951 B

  1. ---
  2. - name: Ensure Matrix base path exists
  3. 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: Preserve vars.yml on the server for easily restoring if it gets lost later on
  12. copy:
  13. src: "{{ matrix_vars_yml_snapshotting_src }}"
  14. dest: "{{ matrix_base_data_path }}/vars.yml"
  15. owner: "{{ matrix_user_username }}"
  16. group: "{{ matrix_user_groupname }}"
  17. mode: '0660'
  18. when: "matrix_vars_yml_snapshotting_enabled|bool"
  19. - name: Ensure Matrix network is created in Docker
  20. docker_network:
  21. name: "{{ matrix_docker_network }}"
  22. driver: bridge
  23. - name: Ensure matrix-remove-all script created
  24. template:
  25. src: "{{ role_path }}/templates/usr-local-bin/matrix-remove-all.j2"
  26. dest: "{{ matrix_local_bin_path }}/matrix-remove-all"
  27. mode: 0750