- name: rpi-boot hosts: localhost user: root connection: local vars: - wlan: wlan0 - hostid: "{{ansible_ssh_host_key_rsa_public | hash('sha1') | regex_replace('(...).*', '\\1')}}" - user: juju roles: - pi