@@ -148,6 +148,8 @@ <h1 class="toc-title">Contents</h1>
148148id ="toc-sudo_remove_unauthorized_included_files "> sudo_remove_unauthorized_included_files</ a > </ li >
149149< li > < a href ="#sudo_visudo_path "
150150id ="toc-sudo_visudo_path "> sudo_visudo_path</ a > </ li >
151+ < li > < a href ="#sudo_transactional_update_reboot_ok "
152+ id ="toc-sudo_transactional_update_reboot_ok "> sudo_transactional_update_reboot_ok</ a > </ li >
151153< li > < a href ="#sudo_sudoers_files "
152154id ="toc-sudo_sudoers_files "> sudo_sudoers_files</ a >
153155< ul >
@@ -222,6 +224,17 @@ <h2 id="sudo_visudo_path">sudo_visudo_path</h2>
222224compatibility.</ p >
223225< p > Default: < code > /usr/bin/visudo</ code > </ p >
224226< p > Type: < code > string</ code > </ p >
227+ < h2
228+ id ="sudo_transactional_update_reboot_ok "> sudo_transactional_update_reboot_ok</ h2 >
229+ < p > This variable is used to handle reboots required by transactional
230+ updates. If a transactional update requires a reboot, the role will
231+ proceed with the reboot if
232+ < code > sudo_transactional_update_reboot_ok</ code > is set to
233+ < code > true</ code > . If set to < code > false</ code > , the role will notify
234+ the user that a reboot is required, allowing for custom handling of the
235+ reboot requirement. If this variable is not set, the role will fail to
236+ ensure the reboot requirement is not overlooked.</ p >
237+ < p > Default: < code > null</ code > Type: < code > bool</ code > </ p >
225238< h2 id ="sudo_sudoers_files "> sudo_sudoers_files</ h2 >
226239< p > A list that defines sudoers configurations.</ p >
227240< p > For the default configuration, see < a
@@ -569,8 +582,8 @@ <h2 id="applying-a-multi-file-sudoers-configuration">Applying a
569582< span id ="cb8-77 "> < a href ="#cb8-77 " aria-hidden ="true " tabindex ="-1 "> </ a > < span class ="at "> </ span > < span class ="kw "> -</ span > < span class ="at "> /usr/bin/ping</ span > </ span >
570583< span id ="cb8-78 "> < a href ="#cb8-78 " aria-hidden ="true " tabindex ="-1 "> </ a > < span class ="at "> </ span > < span class ="fu "> user_alias</ span > < span class ="kw "> :</ span > </ span >
571584< span id ="cb8-79 "> < a href ="#cb8-79 " aria-hidden ="true " tabindex ="-1 "> </ a > < span class ="at "> </ span > < span class ="kw "> -</ span > < span class ="at "> </ span > < span class ="fu "> name</ span > < span class ="kw "> :</ span > < span class ="at "> PINGERS</ span > </ span >
572- < span id ="cb8-80 "> < a href ="#cb8-80 " aria-hidden ="true " tabindex ="-1 "> </ a > < span class ="at "> </ span > < span class ="fu "> users</ span > < span class ="kw "> :</ span > </ span >
573- < span id ="cb8-81 "> < a href ="#cb8-81 " aria-hidden ="true " tabindex ="-1 "> </ a > < span class ="at "> </ span > < span class ="kw "> -</ span > < span class ="at "> username</ span > </ span >
585+ < span id ="cb8-80 "> < a href ="#cb8-80 " aria-hidden ="true " tabindex ="-1 "> </ a > < span class ="at "> </ span > < span class ="fu "> users</ span > < span class ="kw "> :</ span > </ span >
586+ < span id ="cb8-81 "> < a href ="#cb8-81 " aria-hidden ="true " tabindex ="-1 "> </ a > < span class ="at "> </ span > < span class ="kw "> -</ span > < span class ="at "> username</ span > </ span >
574587< span id ="cb8-82 "> < a href ="#cb8-82 " aria-hidden ="true " tabindex ="-1 "> </ a > < span class ="at "> </ span > < span class ="kw "> -</ span > < span class ="at "> </ span > < span class ="fu "> path</ span > < span class ="kw "> :</ span > < span class ="at "> /etc/sudoers.d/pingers</ span > </ span >
575588< span id ="cb8-83 "> < a href ="#cb8-83 " aria-hidden ="true " tabindex ="-1 "> </ a > < span class ="at "> </ span > < span class ="fu "> user_specifications</ span > < span class ="kw "> :</ span > </ span >
576589< span id ="cb8-84 "> < a href ="#cb8-84 " aria-hidden ="true " tabindex ="-1 "> </ a > < span class ="at "> </ span > < span class ="kw "> -</ span > < span class ="at "> </ span > < span class ="fu "> type</ span > < span class ="kw "> :</ span > < span class ="at "> user</ span > </ span >
@@ -606,6 +619,9 @@ <h1 id="license">License</h1>
606619href ="https://github.com/linux-system-roles/sudo/actions/workflows/shellcheck.yml "> < img
607620src ="https://github.com/linux-system-roles/sudo/actions/workflows/shellcheck.yml/badge.svg "
608621alt ="shellcheck.yml " /> </ a > < a
622+ href ="https://github.com/linux-system-roles/sudo/actions/workflows/tft.yml "> < img
623+ src ="https://github.com/linux-system-roles/sudo/actions/workflows/tft.yml/badge.svg "
624+ alt ="tft.yml " /> </ a > < a
609625href ="https://github.com/linux-system-roles/sudo/actions/workflows/woke.yml "> < img
610626src ="https://github.com/linux-system-roles/sudo/actions/workflows/woke.yml/badge.svg "
611627alt ="woke.yml " /> </ a > </ p >
0 commit comments