ansible eliminar parte de la línea

# Use replace module to delete root ssh limitations.
# Here, we are deleting ('') the matching regex text in a line.

- name: Allow root access
  replace:
    path: ~/.ssh/authorized_keys
    regexp: '^no.*10".'
    replace: ''
RicarHincapie