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?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6c4dbae1-d614-4724-a67f-b35a4eaccf7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to