Skip to content

Commit

Permalink
fix loki arch and add quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
gianmarco-mameli committed Aug 13, 2024
1 parent 57c77f9 commit 47bb9fb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions roles/loki/vars/Debian.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
__loki_arch_map:
x86_64: 'amd64'
armv6l: 'arm'
armv7l: 'arm'
aarch64: 'arm64'

__loki_arch: "{{ __loki_arch_map[ansible_architecture] | default(ansible_architecture) }}"
8 changes: 4 additions & 4 deletions roles/promtail/vars/Debian.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
__promtail_arch_map:
x86_64: amd64
armv6l: arm
armv7l: arm
aarch64: arm64
x86_64: 'amd64'
armv6l: 'arm'
armv7l: 'arm'
aarch64: 'arm64'

__promtail_arch: "{{ __promtail_arch_map[ansible_architecture] | default(ansible_architecture) }}"

0 comments on commit 47bb9fb

Please sign in to comment.