syncronize module: ignoreif local source does not exist

Hello

i have the following task:

`

  • name: Copying webcontent
    synchronize: src=some/relative/path/{{ item }} dest=/some/absolute/path/{{ item }}
    with_items:
  • some
  • other

`

what i need:
“other” does not exist locally and thats ok. How can i check, if the items exist locally and skip the cycle if not?

Thx

Following codes should work.

`