mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-11-04 09:08:56 +01:00 
			
		
		
		
	no dashes in usernames
This commit is contained in:
		@@ -36,9 +36,9 @@
 | 
			
		||||
    'matrix_awx_dimension_user_created': 'true'
 | 
			
		||||
  when: not matrix_awx_dimension_user_created|bool
 | 
			
		||||
 | 
			
		||||
- name: Create user account @mjolnir-bot
 | 
			
		||||
- name: Create user account @mjolnir
 | 
			
		||||
  command: |
 | 
			
		||||
    /usr/local/bin/matrix-synapse-register-user mjolnir-bot {{ matrix_awx_mjolnir-bot_user_password | quote }} 0
 | 
			
		||||
    /usr/local/bin/matrix-synapse-register-user mjolnir {{ matrix_awx_mjolnir-bot_user_password | quote }} 0
 | 
			
		||||
  register: cmd
 | 
			
		||||
  when: not matrix_awx_dimension_user_created|bool
 | 
			
		||||
  no_log: True
 | 
			
		||||
@@ -51,7 +51,7 @@
 | 
			
		||||
    line: "{{ item.key }}: {{ item.value }}"
 | 
			
		||||
    insertafter: 'AWX Settings'
 | 
			
		||||
  with_dict:
 | 
			
		||||
    'matrix_awx_mjolnir-bot_user_created': 'true'
 | 
			
		||||
    'matrix_awx_mjolnir_user_created': 'true'
 | 
			
		||||
  when: not matrix_awx_dimension_user_created|bool
 | 
			
		||||
 | 
			
		||||
- name: Ensure /chroot/website location has correct permissions
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user