From b07c84776afd5d8aceab89caceff0d2826b5cd32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Torrero=20Marijnissen?= Date: Tue, 16 Jan 2024 13:52:21 +0000 Subject: [PATCH] Reduce line-length rule to warning level --- .ansible-lint | 2 ++ roles/containers/tasks/main.yml | 20 +++++--------------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index f615bf2..0531728 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,2 +1,4 @@ exclude_paths: - .github/ +skip_list: + - yaml[line-length] diff --git a/roles/containers/tasks/main.yml b/roles/containers/tasks/main.yml index dffe278..d96b2cf 100644 --- a/roles/containers/tasks/main.yml +++ b/roles/containers/tasks/main.yml @@ -44,12 +44,8 @@ CORS_ORIGIN: "http://localhost" # TODO: Remove placeholder SECRET_KEY_BASE: "{{ secret_key_base }}" ACCESS_TOKEN_ENC_SECRET: "{{ access_token_secret }}" - AMQP_URL: >- - "{{ amqp_protocol }}://{{ rabbitmq_username }}:{{ rabbitmq_password }}" - "@{{ rabbitmq_host }}/{{ rabbitmq_vhost | urlencode | replace('/', '%2F') }}" - DATABASE_URL: >- - "ecto://{{ wanda_postgres_user }}:{{ wanda_postgres_password }}" - "@{{ wanda_postgres_host }}/{{ wanda_postgres_db }}" + AMQP_URL: "{{ amqp_protocol }}://{{ rabbitmq_username }}:{{ rabbitmq_password }}@{{ rabbitmq_host }}/{{ rabbitmq_vhost | urlencode | replace('/', '%2F') }}" + DATABASE_URL: "ecto://{{ wanda_postgres_user }}:{{ wanda_postgres_password }}@{{ wanda_postgres_host }}/{{ wanda_postgres_db }}" - name: Web container community.docker.docker_container: @@ -72,15 +68,9 @@ ports: - "{{ web_container_port }}:4000" env: - AMQP_URL: >- - "{{ amqp_protocol }}://{{ rabbitmq_username }}:{{ rabbitmq_password }}" - "@{{ rabbitmq_host }}/{{ rabbitmq_vhost | urlencode | replace('/', '%2F') }}" - DATABASE_URL: >- - "ecto://{{ web_postgres_user }}:{{ web_postgres_password }}" - "@{{ web_postgres_host }}/{{ web_postgres_db }}" - EVENTSTORE_URL: >- - "ecto://{{ web_postgres_user }}:{{ web_postgres_password }}" - "@{{ web_postgres_host }}/{{ web_postgres_event_store }}" + AMQP_URL: "{{ amqp_protocol }}://{{ rabbitmq_username }}:{{ rabbitmq_password }}@{{ rabbitmq_host }}/{{ rabbitmq_vhost | urlencode | replace('/', '%2F') }}" + DATABASE_URL: "ecto://{{ web_postgres_user }}:{{ web_postgres_password }}@{{ web_postgres_host }}/{{ web_postgres_db }}" + EVENTSTORE_URL: "ecto://{{ web_postgres_user }}:{{ web_postgres_password }}@{{ web_postgres_host }}/{{ web_postgres_event_store }}" ENABLE_ALERTING: "{{ enable_alerting }}" # SMTP_SERVER: "{{ .Values.alerting.smtpServer }}" # SMTP_PORT: "{{ .Values.alerting.smtpPort }}"