Skip to content

Commit

Permalink
Reduce line-length rule to warning level
Browse files Browse the repository at this point in the history
  • Loading branch information
rtorrero committed Jan 16, 2024
1 parent f485ee8 commit b07c847
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
exclude_paths:
- .github/
skip_list:
- yaml[line-length]
20 changes: 5 additions & 15 deletions roles/containers/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}"
Expand Down

0 comments on commit b07c847

Please sign in to comment.