Make ansible-lint happy

development
Slavi Pantaleev 2 years ago
parent e46ba5deba
commit 7b937cf9a9

@ -181,15 +181,15 @@ matrix_appservice_kakaotalk_node_configuration: "{{ matrix_appservice_kakaotalk_
matrix_appservice_kakaotalk_registration_yaml: | matrix_appservice_kakaotalk_registration_yaml: |
id: appservice-kakaotalk id: appservice-kakaotalk
as_token: {{ matrix_appservice_kakaotalk_appservice_token|to_json }} as_token: {{ matrix_appservice_kakaotalk_appservice_token | to_json }}
hs_token: {{ matrix_appservice_kakaotalk_homeserver_token|to_json }} hs_token: {{ matrix_appservice_kakaotalk_homeserver_token | to_json }}
namespaces: namespaces:
users: users:
- exclusive: true - exclusive: true
regex: '^@{{ matrix_appservice_kakaotalk_user_prefix | regex_escape }}.*:{{ matrix_appservice_kakaotalk_homeserver_domain | regex_escape }}$' regex: '^@{{ matrix_appservice_kakaotalk_user_prefix | regex_escape }}.*:{{ matrix_appservice_kakaotalk_homeserver_domain | regex_escape }}$'
- exclusive: true - exclusive: true
regex: '^@{{ matrix_appservice_kakaotalk_appservice_bot_username | regex_escape }}:{{ matrix_appservice_kakaotalk_homeserver_domain | regex_escape }}$' regex: '^@{{ matrix_appservice_kakaotalk_appservice_bot_username | regex_escape }}:{{ matrix_appservice_kakaotalk_homeserver_domain | regex_escape }}$'
url: {{ matrix_appservice_kakaotalk_appservice_address|to_json }} url: {{ matrix_appservice_kakaotalk_appservice_address | to_json }}
sender_localpart: _appservice_kakaotalk sender_localpart: _appservice_kakaotalk
rate_limited: false rate_limited: false

@ -1,9 +1,9 @@
# Homeserver details # Homeserver details
homeserver: homeserver:
# The address that this appservice can use to connect to the homeserver. # The address that this appservice can use to connect to the homeserver.
address: {{ matrix_appservice_kakaotalk_homeserver_address|to_json }} address: {{ matrix_appservice_kakaotalk_homeserver_address | to_json }}
# The domain of the homeserver (for MXIDs, etc). # The domain of the homeserver (for MXIDs, etc).
domain: {{ matrix_appservice_kakaotalk_homeserver_domain|to_json }} domain: {{ matrix_appservice_kakaotalk_homeserver_domain | to_json }}
# Whether or not to verify the SSL certificate of the homeserver. # Whether or not to verify the SSL certificate of the homeserver.
# Only applies if address starts with https:// # Only applies if address starts with https://
verify_ssl: true verify_ssl: true
@ -27,7 +27,7 @@ homeserver:
# Changing these values requires regeneration of the registration. # Changing these values requires regeneration of the registration.
appservice: appservice:
# The address that the homeserver can use to connect to this appservice. # The address that the homeserver can use to connect to this appservice.
address: {{ matrix_appservice_kakaotalk_appservice_address|to_json }} address: {{ matrix_appservice_kakaotalk_appservice_address | to_json }}
# The hostname and port where this appservice should listen. # The hostname and port where this appservice should listen.
hostname: 0.0.0.0 hostname: 0.0.0.0
@ -40,7 +40,7 @@ appservice:
# Format examples: # Format examples:
# SQLite: sqlite:///filename.db # SQLite: sqlite:///filename.db
# Postgres: postgres://username:password@hostname/dbname # Postgres: postgres://username:password@hostname/dbname
database: {{ matrix_appservice_kakaotalk_appservice_database|to_json }} database: {{ matrix_appservice_kakaotalk_appservice_database | to_json }}
# Additional arguments for asyncpg.create_pool() or sqlite3.connect() # Additional arguments for asyncpg.create_pool() or sqlite3.connect()
# https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.pool.create_pool # https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.pool.create_pool
# https://docs.python.org/3/library/sqlite3.html#sqlite3.connect # https://docs.python.org/3/library/sqlite3.html#sqlite3.connect
@ -52,7 +52,7 @@ appservice:
# The unique ID of this appservice. # The unique ID of this appservice.
id: appservice-kakaotalk id: appservice-kakaotalk
# Username of the appservice bot. # Username of the appservice bot.
bot_username: {{ matrix_appservice_kakaotalk_appservice_bot_username|to_json }} bot_username: {{ matrix_appservice_kakaotalk_appservice_bot_username | to_json }}
# Display name and avatar for bot. Set to "remove" to remove display name/avatar, leave empty # Display name and avatar for bot. Set to "remove" to remove display name/avatar, leave empty
# to leave display name/avatar as-is. # to leave display name/avatar as-is.
bot_displayname: KakaoTalk bridge bot bot_displayname: KakaoTalk bridge bot
@ -64,8 +64,8 @@ appservice:
ephemeral_events: false ephemeral_events: false
# Authentication tokens for AS <-> HS communication. Autogenerated; do not modify. # Authentication tokens for AS <-> HS communication. Autogenerated; do not modify.
as_token: {{ matrix_appservice_kakaotalk_appservice_token|to_json }} as_token: {{ matrix_appservice_kakaotalk_appservice_token | to_json }}
hs_token: {{ matrix_appservice_kakaotalk_homeserver_token|to_json }} hs_token: {{ matrix_appservice_kakaotalk_homeserver_token | to_json }}
# Prometheus telemetry config. Requires prometheus-client to be installed. # Prometheus telemetry config. Requires prometheus-client to be installed.
metrics: metrics:
@ -97,7 +97,7 @@ bridge:
displayname_template: "{displayname} (KT)" displayname_template: "{displayname} (KT)"
# The prefix for commands. Only required in non-management rooms. # The prefix for commands. Only required in non-management rooms.
command_prefix: {{ matrix_appservice_kakaotalk_command_prefix|to_json }} command_prefix: {{ matrix_appservice_kakaotalk_command_prefix | to_json }}
# Number of chats to sync (and create portals for) on startup/login. # Number of chats to sync (and create portals for) on startup/login.
# Set to 0 to disable automatic syncing, or -1 to sync as much as possible. # Set to 0 to disable automatic syncing, or -1 to sync as much as possible.
@ -123,7 +123,7 @@ bridge:
# manually. # manually.
# If using this for other servers than the bridge's server, # If using this for other servers than the bridge's server,
# you must also set the URL in the double_puppet_server_map. # you must also set the URL in the double_puppet_server_map.
login_shared_secret_map: {{ matrix_appservice_kakaotalk_bridge_login_shared_secret_map|to_json }} login_shared_secret_map: {{ matrix_appservice_kakaotalk_bridge_login_shared_secret_map | to_json }}
# Whether or not to update avatars when syncing all contacts at startup. # Whether or not to update avatars when syncing all contacts at startup.
update_avatar_initial_sync: true update_avatar_initial_sync: true
# End-to-bridge encryption support options. These require matrix-nio to be installed with pip # End-to-bridge encryption support options. These require matrix-nio to be installed with pip
@ -156,7 +156,7 @@ bridge:
allow_invites: false allow_invites: false
# Whether or not created rooms should have federation enabled. # Whether or not created rooms should have federation enabled.
# If false, created portal rooms will never be federated. # If false, created portal rooms will never be federated.
federate_rooms: {{ matrix_appservice_kakaotalk_federate_rooms|to_json }} federate_rooms: {{ matrix_appservice_kakaotalk_federate_rooms | to_json }}
# Settings for backfilling messages from KakaoTalk. # Settings for backfilling messages from KakaoTalk.
backfill: backfill:
# Whether or not the KakaoTalk users of logged in Matrix users should be # Whether or not the KakaoTalk users of logged in Matrix users should be
@ -215,7 +215,7 @@ bridge:
# * - All Matrix users # * - All Matrix users
# domain - All users on that homeserver # domain - All users on that homeserver
# mxid - Specific user # mxid - Specific user
permissions: {{ matrix_appservice_kakaotalk_bridge_permissions|to_json }} permissions: {{ matrix_appservice_kakaotalk_bridge_permissions | to_json }}
relay: relay:
# Whether relay mode should be allowed. If allowed, `!kt set-relay` can be used to turn any # Whether relay mode should be allowed. If allowed, `!kt set-relay` can be used to turn any
@ -266,11 +266,11 @@ logging:
formatter: colored formatter: colored
loggers: loggers:
mau: mau:
level: {{ matrix_appservice_kakaotalk_logging_level|to_json }} level: {{ matrix_appservice_kakaotalk_logging_level | to_json }}
paho: paho:
level: {{ matrix_appservice_kakaotalk_logging_level|to_json }} level: {{ matrix_appservice_kakaotalk_logging_level | to_json }}
aiohttp: aiohttp:
level: {{ matrix_appservice_kakaotalk_logging_level|to_json }} level: {{ matrix_appservice_kakaotalk_logging_level | to_json }}
root: root:
level: {{ matrix_appservice_kakaotalk_logging_level|to_json }} level: {{ matrix_appservice_kakaotalk_logging_level | to_json }}
handlers: [console] handlers: [console]

Loading…
Cancel
Save