ansible-lint : How to prevent 'no-same-owner' for ansible.posix.synchronize ?

Hello all,

I have the following task


---
- name: Copy static webfiles to document root /var/www/{{ sitename }}
# become: true
become_user: www-data
ansible.posix.synchronize:
dest: "/var/www/"
src: var/www/{{ sitename }}
mode: 0644

ansible-lint gives :

no-same-owner: Owner should not be kept between different hosts.
roles/static_website/tasks/main.yml:2

How can I prevent this ?

ansible-lint 6.2.2 using ansible 2.14.0

Thanks a lot ?

Norbert

Found it : I had to add :

owner: false
group: false