fix: standardize environment variable declaration

This commit is contained in:
Ben Grande 2025-01-17 19:36:41 +01:00
parent 5e635d54b5
commit 599f044d58
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56
3 changed files with 9 additions and 3 deletions

View File

@ -79,7 +79,9 @@ include:
cmd.run:
- require:
- git: "{{ slsdotpath }}-git-clone"
- name: GNUPGHOME="$HOME/.gnupg/mirage-firewall" git -c gpg.program=gpg2 verify-commit {{ mirage_firewall_tag }}
- env:
- GNUPGHOME: "/home/user/.gnupg/mirage-firewall"
- name: git -c gpg.program=gpg2 verify-commit {{ mirage_firewall_tag }}
- cwd: /home/user/src/qubes-mirage-firewall
- runas: user

View File

@ -99,7 +99,9 @@ include:
- require:
- git: "{{ slsdotpath }}-git-clone-builderv2"
- cmd: "{{ slsdotpath }}-import-ownertrust"
- name: GNUPGHOME="$HOME/.gnupg/qubes-builder" git -c gpg.program=gpg2 verify-tag "$(git describe --tags --abbrev=0)"
- env:
- GNUPGHOME: "/home/user/.gnupg/qubes-builder"
- name: git -c gpg.program=gpg2 verify-commit HEAD
- cwd: /home/user/src/qubes-builderv2
- runas: user

View File

@ -124,7 +124,9 @@ include:
cmd.run:
- require:
- git: "{{ slsdotpath }}-git-clone"
- name: GNUPGHOME="$HOME/.gnupg/pihole" git verify-commit {{ pihole_tag }}
- env:
- GNUPGHOME: "/home/user/.gnupg/pihole"
- name: git -c gpg.program=gpg2 verify-commit {{ pihole_tag }}
- cwd: /root/pi-hole
- runas: root