Skip to content

Commit

Permalink
Trim traefik_dashboard_basicauth_file_contents when loading it from a…
Browse files Browse the repository at this point in the history
… file to remove trailing newline
  • Loading branch information
spantaleev committed Nov 13, 2024
1 parent 56f73f4 commit d6beb3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

- name: Load basic auth file contents
ansible.builtin.set_fact:
traefik_dashboard_basicauth_file_contents: "{{ traefik_dashboard_basicauth_file_contents_raw['content'] | b64decode }}"
traefik_dashboard_basicauth_file_contents: "{{ traefik_dashboard_basicauth_file_contents_raw['content'] | b64decode | trim }}"

- name: Ensure local temporary basic auth file is removed
ansible.builtin.file:
Expand Down

0 comments on commit d6beb3b

Please sign in to comment.