aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/apt_repo/vars/main.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-09-04 13:02:08 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-09-04 13:02:08 +0200
commitf56478fa1a90d5fff172ff80562daa8a6dfaa6d3 (patch)
tree3f463d17ba10394b3ee46a637702cfc6c6417f1f /roles/apt_repo/vars/main.yml
parentsshd: validate the new config (diff)
downloadinfra-ansible-f56478fa1a90d5fff172ff80562daa8a6dfaa6d3.tar.gz
infra-ansible-f56478fa1a90d5fff172ff80562daa8a6dfaa6d3.zip
fix task names, small refactoring, etc.
Diffstat (limited to '')
-rw-r--r--roles/apt_repo/vars/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/apt_repo/vars/main.yml b/roles/apt_repo/vars/main.yml
new file mode 100644
index 0000000..4265d4b
--- /dev/null
+++ b/roles/apt_repo/vars/main.yml
@@ -0,0 +1,5 @@
+# For some reason, if the key is in a weird format that requires
+# running `gpg --dearmor`, you must save it with the .gpg extension
+# instead of .asc. You can then completely skip the gpg step. Source:
+# https://stackoverflow.com/q/71585303/514684
+apt_repo_key_path: '{{ apt_repo_keys_dir }}/{{ apt_repo_name }}{{ apt_repo_key_dearmor | ternary(".gpg", ".asc") }}'