- hosts: all tasks: - name: Non secret authentication authorized_key: user=root key="{{ lookup('file', '/root/.ssh/id_rsa.pub') }}" state=present