diff --git a/roles/kiwix/defaults/main.yml b/roles/kiwix/defaults/main.yml index 21737efc3..acfa7a08b 100644 --- a/roles/kiwix/defaults/main.yml +++ b/roles/kiwix/defaults/main.yml @@ -33,8 +33,10 @@ kiwix_arch_dict: armv7l: armhf aarch64: armhf -# ansible_architecture can also work: +# ansible_architecture might also work, if not quite as well: # https://stackoverflow.com/questions/66828315/what-is-the-difference-between-ansible-architecture-and-ansible-machine-on-a/66828837#66828837 +# CLAIM: 'ansible_machine might be "i686", whereas ansible_architecture on the same host would be "i386"' +# https://stackoverflow.com/questions/44713880/how-do-i-make-decision-based-on-arch-in-ansible-playbooks/44714226#44714226 kiwix_arch: "{{ kiwix_arch_dict[ansible_machine] | default('unsupported') }}" # Latest official kiwix-tools release, per Kiwix permalink redirects: