It looks very much as though, currently, doing this:-
- name: Build sudo config file
action: template src=templates/sudo/sudoers.j2 dest=/etc/sudoers
owner=root group=root mode=0440
leads to much pain and suffering, because template, uses copy, which
chains file to deal with permissions etc....
And when file runs, sudoers has been put in place with a default
permission (0644 in this case), and sudo then refuses to run because the
permissions are not as it expects ![]()
I'm hoping that the performance speedups for 0.9, which move file into
common and reduce the round trips, will have the side effect of fixing
this pain point ![]()
Nigel.