Hi! I’m still learning Ansible. I need help with recursively replacing strings in a directory.
Will this code work?
- replace:
dest: "/home/ansible/cloning/*"
regexp: "{{ansible_hostname}}"
replace: "{{ansible_system}"
with_filetree: "/home/ansible/cloning/"
Thanks!