Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
euanmillar committed May 1, 2024
1 parent ef63f5e commit 072845f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 30 deletions.
44 changes: 22 additions & 22 deletions infrastructure/server-setup/tasks/traefik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,28 @@
# Owner has rwx, group r, others no permissions
mode: '0740'

- name: Create crt template file with variable content
copy:
dest: "/data/traefik/certs/crt-template.j2"
content: |
{{ssl_crt}}
when: ssl_crt is defined and ssl_crt | length > 0
- name: Create crt template file with variable content
copy:
dest: "/data/traefik/certs/crt-template.j2"
content: |
{{ssl_crt}}
when: ssl_crt is defined and ssl_crt | length > 0

- name: Create key template file with variable content
copy:
dest: "/data/traefik/certs/key-template.j2"
content: |
{{ssl_key}}
when: ssl_key is defined and ssl_key | length > 0
- name: Create key template file with variable content
copy:
dest: "/data/traefik/certs/key-template.j2"
content: |
{{ssl_key}}
when: ssl_key is defined and ssl_key | length > 0

- name: Write crt file
ansible.builtin.template:
src: "/data/traefik/certs/crt-template.j2"
dest: "/data/traefik/certs/cert.crt"
when: ssl_crt is defined and ssl_crt | length > 0
- name: Write crt file
ansible.builtin.template:
src: "/data/traefik/certs/crt-template.j2"
dest: "/data/traefik/certs/cert.crt"
when: ssl_crt is defined and ssl_crt | length > 0

- name: Write key file
ansible.builtin.template:
src: "/data/traefik/certs/key-template.j2"
dest: "/data/traefik/certs/cert.key"
when: ssl_key is defined and ssl_key | length > 0
- name: Write key file
ansible.builtin.template:
src: "/data/traefik/certs/key-template.j2"
dest: "/data/traefik/certs/cert.key"
when: ssl_key is defined and ssl_key | length > 0
9 changes: 1 addition & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6204,14 +6204,7 @@ globals@^11.1.0:
resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==

globals@^13.19.0:
version "13.24.0"
resolved "https://registry.yarnpkg.com/globals/-/globals-13.24.0.tgz#8432a19d78ce0c1e833949c36adb345400bb1171"
integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==
dependencies:
type-fest "^0.20.2"

globals@^13.20.0:
globals@^13.19.0, globals@^13.20.0:
version "13.24.0"
resolved "https://registry.yarnpkg.com/globals/-/globals-13.24.0.tgz#8432a19d78ce0c1e833949c36adb345400bb1171"
integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==
Expand Down

0 comments on commit 072845f

Please sign in to comment.