If I run this playbook against, say, the host pgli10-nm, it exits with an error
---
- hosts:
all
tasks:
- assemble:
src=fragments/prova
dest=/tmp/prova
regexp='({{ ansible_hostname }}|tutti)'
mode=644
remote_src=False
failed: [pgli10-nm] => {"failed": true}
msg: unsupported parameter for module: regexp
If I copy all files in the fragments/prova directory to the remote machine and I assemble them there (i.e. adjusting the paths and with the default remote_src=True), the regexp works as expected, assembling the file properly.
I am not sure that it is a bug: is anyone experiencing the same behaviour?