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


  

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5894dd13-8dcb-46d0-805c-27f9668e474fn%40googlegroups.com.

Reply via email to