Hi
I simply want to search in a file if there is at lease one occurance of “@” inside. An ansible module is prefered
I tried a little a bit with replace and lineinfile module and check the result variabel, but maybe there is a simpler out of the box way.
- name: replace
replace: dest=test.properties
regexp="@"
replace="@"
backup=yes
register: result