fix yggdrasil

This commit is contained in:
h 2025-01-01 13:23:55 -08:00
parent 00bc6714ee
commit 8bef486ab3
Signed by: 9pfs
SSH key fingerprint: SHA256:jgJ8oy3dFgbNXEiRdZlbUhItY8fbh4UvvJ2qhxoOC88

View file

@ -5,10 +5,15 @@
ansible.builtin.command: gpg --fetch-keys https://neilalexander.s3.dualstack.eu-west-2.amazonaws.com/deb/key.txt ansible.builtin.command: gpg --fetch-keys https://neilalexander.s3.dualstack.eu-west-2.amazonaws.com/deb/key.txt
delegate_to: 127.0.0.1 delegate_to: 127.0.0.1
run_once: true run_once: true
- name: See if gpg key exists already
ansible.builtin.stat:
path: yggdrasil/yggdrasil-keyring.gpg
register: gpg_key_exists
- name: export gpg key - name: export gpg key
ansible.builtin.command: gpg --output yggdrasil/yggdrasil-keyring.gpg --export BC1BF63BD10B8F1A ansible.builtin.command: gpg --output yggdrasil/yggdrasil-keyring.gpg --export BC1BF63BD10B8F1A
delegate_to: 127.0.0.1 delegate_to: 127.0.0.1
run_once: true run_once: true
when: gpg_key_exists.stat.exists == False
- name: See if it's possible to run yggdrasil - name: See if it's possible to run yggdrasil
ansible.builtin.stat: ansible.builtin.stat:
path: /dev/net/tun path: /dev/net/tun