--- - name: Update authorized_keys tags: authorized_keys template: src: authorized_keys.j2 dest: /root/.ssh/authorized_keys mode: 0600 when: root_access is defined and root_access