Skip to content

Commit d89e627

Browse files
committed
Move some matrix-registration-bot variables around
1 parent 4d39efe commit d89e627

File tree

1 file changed

+8
-7
lines changed
  • roles/custom/matrix-bot-matrix-registration-bot/defaults

1 file changed

+8
-7
lines changed

roles/custom/matrix-bot-matrix-registration-bot/defaults/main.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,19 @@ matrix_bot_matrix_registration_bot_config_path: "{{ matrix_bot_matrix_registrati
2020
matrix_bot_matrix_registration_bot_data_path: "{{ matrix_bot_matrix_registration_bot_base_path }}/data"
2121

2222
matrix_bot_matrix_registration_bot_bot_server: "{{ matrix_homeserver_url }}"
23-
matrix_bot_matrix_registration_bot_api_base_url: "{{ matrix_homeserver_url }}"
2423

24+
# The bot's username. This user needs to be created manually beforehand.
25+
# Also see `matrix_bot_matrix_registration_bot_user_password`.
26+
matrix_bot_matrix_registration_bot_matrix_user_id_localpart: "bot.matrix-registration-bot"
27+
28+
matrix_bot_matrix_registration_bot_matrix_user_id: '@{{ matrix_bot_matrix_registration_bot_matrix_user_id_localpart }}:{{ matrix_domain }}'
2529

2630
# The bot's password (can also be used to login via a client like Element Web)
2731
matrix_bot_matrix_registration_bot_bot_password: ''
2832

33+
# Homeserver base URL
34+
matrix_bot_matrix_registration_bot_api_base_url: "{{ matrix_homeserver_url }}"
35+
2936
# Optional variable that only needs to be set if the bot account is not admin
3037
# Needs to be a valid access token of an admin account
3138
matrix_bot_matrix_registration_bot_api_token: ''
@@ -51,9 +58,3 @@ matrix_bot_matrix_registration_bot_systemd_required_services_list_custom: []
5158

5259
# List of systemd services that matrix-bot-matrix-registration-bot.service wants
5360
matrix_bot_matrix_registration_bot_systemd_wanted_services_list: []
54-
55-
# The bot's username. This user needs to be created manually beforehand.
56-
# Also see `matrix_bot_matrix_registration_bot_user_password`.
57-
matrix_bot_matrix_registration_bot_matrix_user_id_localpart: "bot.matrix-registration-bot"
58-
59-
matrix_bot_matrix_registration_bot_matrix_user_id: '@{{ matrix_bot_matrix_registration_bot_matrix_user_id_localpart }}:{{ matrix_domain }}'

0 commit comments

Comments
 (0)