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.
 
 

20 lines
477 B

  1. ---
  2. - name: Ensure Matrix group is created
  3. group:
  4. name: "{{ matrix_user_username }}"
  5. gid: "{{ matrix_user_gid }}"
  6. state: present
  7. - name: Ensure Matrix user is created
  8. user:
  9. name: "{{ matrix_user_username }}"
  10. uid: "{{ matrix_user_uid }}"
  11. state: present
  12. group: "{{ matrix_user_username }}"
  13. - name: Ensure environment variables data path exists
  14. file:
  15. path: "{{ matrix_environment_variables_data_path }}"
  16. state: directory
  17. mode: 0700