--- - name: Delete authorized SSH keys for root account file: path: "{{ item }}" state: absent loop: - /root/.ssh/authorized_keys - /root/.ssh/authorized_keys2