Matrix Docker Ansible eploy
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

23 行
500 B

  1. ---
  2. - name: Ensure Matrix group is created
  3. group:
  4. name: "{{ matrix_user_groupname }}"
  5. state: present
  6. register: matrix_group
  7. - name: Set Matrix Group GID Variable
  8. set_fact:
  9. matrix_user_gid: "{{ matrix_group.gid }}"
  10. - name: Ensure Matrix user is created
  11. user:
  12. name: "{{ matrix_user_username }}"
  13. state: present
  14. group: "{{ matrix_user_groupname }}"
  15. register: matrix_user
  16. - name: Set Matrix Group UID Variable
  17. set_fact:
  18. matrix_user_uid: "{{ matrix_user.uid }}"