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:
parent
2f2595acdc
commit
351c921563
2 changed files with 4 additions and 4 deletions
|
@ -26,8 +26,8 @@
|
||||||
{{ rasdaemon_user }} ALL=(ALL) NOPASSWD:ALL
|
{{ rasdaemon_user }} ALL=(ALL) NOPASSWD:ALL
|
||||||
validate: '/usr/sbin/visudo -cf %s'
|
validate: '/usr/sbin/visudo -cf %s'
|
||||||
backup: yes
|
backup: yes
|
||||||
marker_begin: rasdaemon-sudoers
|
marker_begin: rasdaemon-sudoers BEGIN
|
||||||
marker_end: rasdaemon-sudoers
|
marker_end: rasdaemon-sudoers END
|
||||||
when:
|
when:
|
||||||
- rasdaemon_user_group is defined
|
- rasdaemon_user_group is defined
|
||||||
- rasdaemon_user is defined
|
- rasdaemon_user is defined
|
||||||
|
|
|
@ -26,8 +26,8 @@
|
||||||
{{ sanoid_user }} ALL=(ALL) NOPASSWD:ALL
|
{{ sanoid_user }} ALL=(ALL) NOPASSWD:ALL
|
||||||
validate: '/usr/sbin/visudo -cf %s'
|
validate: '/usr/sbin/visudo -cf %s'
|
||||||
backup: yes
|
backup: yes
|
||||||
marker_begin: sanoid-sudoers
|
marker_begin: sanoid-sudoers BEGIN
|
||||||
marker_end: sanoid-sudoers
|
marker_end: sanoid-sudoers END
|
||||||
when:
|
when:
|
||||||
- sanoid_user_group is defined
|
- sanoid_user_group is defined
|
||||||
- sanoid_user is defined
|
- sanoid_user is defined
|
||||||
|
|
Loading…
Reference in a new issue