--- - name: Ensure installation in x86 64bits systems include_tasks: install_x86_64.yml when: ansible_facts['architecture'] == "x86_64" - name: Ensure installation in ARM device include_tasks: install_arm.yml when: ansible_facts['architecture'] | regex_search("^arm") or ansible_facts['architecture'] == 'aarch64' - name: Ensure configuration include_tasks: configure.yml