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 %}