From 659477f1a7c652908d1d0f8c9878cd68af3b46a8 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 19 Jun 2020 13:00:09 +0200 Subject: [PATCH] Update to 2020-06-19 13:00 --- roles/patrix/templates/patrixrc.j2 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 roles/patrix/templates/patrixrc.j2 diff --git a/roles/patrix/templates/patrixrc.j2 b/roles/patrix/templates/patrixrc.j2 new file mode 100644 index 0000000..ffd1aea --- /dev/null +++ b/roles/patrix/templates/patrixrc.j2 @@ -0,0 +1,11 @@ +[default] +server = {{ patrix_server }} +{% if patrix_user is defined and patrix_pass is defined %} +user = {{ patrix_user }} +password = {{ patrix_pass }} +{% elif patrix_token is defined %} +access_token = {{ patrix_token }} +{% endif %} +{% if patrix_room is defined %} +room = {{ patrix_room }} +{% endif %}