Bugfix: sanoid/rasdaemon: sudoers Marker angepasst (#274)

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#274
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2021-12-13 10:28:18 +01:00
parent 2f2595acdc
commit 351c921563
2 changed files with 4 additions and 4 deletions

View file

@ -26,8 +26,8 @@
{{ rasdaemon_user }} ALL=(ALL) NOPASSWD:ALL
validate: '/usr/sbin/visudo -cf %s'
backup: yes
marker_begin: rasdaemon-sudoers
marker_end: rasdaemon-sudoers
marker_begin: rasdaemon-sudoers BEGIN
marker_end: rasdaemon-sudoers END
when:
- rasdaemon_user_group is defined
- rasdaemon_user is defined

View file

@ -26,8 +26,8 @@
{{ sanoid_user }} ALL=(ALL) NOPASSWD:ALL
validate: '/usr/sbin/visudo -cf %s'
backup: yes
marker_begin: sanoid-sudoers
marker_end: sanoid-sudoers
marker_begin: sanoid-sudoers BEGIN
marker_end: sanoid-sudoers END
when:
- sanoid_user_group is defined
- sanoid_user is defined