Browse Source

no dashes in usernames

pull/1046/head
Michael-GMH 4 years ago
parent
commit
f70102e40c
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      roles/matrix-common-after/tasks/awx_post.yml

+ 3
- 3
roles/matrix-common-after/tasks/awx_post.yml View File

@@ -36,9 +36,9 @@
'matrix_awx_dimension_user_created': 'true' 'matrix_awx_dimension_user_created': 'true'
when: not matrix_awx_dimension_user_created|bool when: not matrix_awx_dimension_user_created|bool


- name: Create user account @mjolnir-bot
- name: Create user account @mjolnir
command: | 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 register: cmd
when: not matrix_awx_dimension_user_created|bool when: not matrix_awx_dimension_user_created|bool
no_log: True no_log: True
@@ -51,7 +51,7 @@
line: "{{ item.key }}: {{ item.value }}" line: "{{ item.key }}: {{ item.value }}"
insertafter: 'AWX Settings' insertafter: 'AWX Settings'
with_dict: with_dict:
'matrix_awx_mjolnir-bot_user_created': 'true'
'matrix_awx_mjolnir_user_created': 'true'
when: not matrix_awx_dimension_user_created|bool when: not matrix_awx_dimension_user_created|bool


- name: Ensure /chroot/website location has correct permissions - name: Ensure /chroot/website location has correct permissions


Loading…
Cancel
Save