With the following task
- name: synchronising ...
synchronize: src=files/to/synchronize dest=/tmp/1
the files/to/synchronize
directory is synchronized, and after it's done there is a /tmp/1/synchronize
directory on the target machine.
Is it possible to use the syncrhonize
task to recursively synchronize only contents of the source directory, so that all its contents was in the /tmp/1
without extra level of depth?
What I've done:
- I went through documentation
- I tried to google
- I went through ansible synchronize module source