gekmihesg/ansible-openwrt

copy sets +x bit on the file at destination

codemarauder opened this issue · 0 comments

When I use "copy" command, it copies the file successfully but sets the executable bit on it:
-rwxr--r-- 1 root root 1597 Jul 19 18:28 squid.conf

While the source file doesn't have it:
-rw-r--r-- 1 root root 1597 Jul 19 17:53 squid.conf

Also, how can we pass on the argument to have required modes set on the file copied?