# Variable reboot time out in linux-system-roles?

**URL:** <https://forum.ansible.com/t/variable-reboot-time-out-in-linux-system-roles/7083>\
**Category:** Collection Development\
**Tags:** features, linux-system-roles\
**Created:** [July 5, 2024, 5:53pm UTC](https://forum.ansible.com/t/variable-reboot-time-out-in-linux-system-roles/7083 "2024-07-05T17:53:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![XakV](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/xakv/32/896_2.png) [@XakV](https://forum.ansible.com/u/XakV)\
**Post date:** [July 5, 2024, 5:53pm UTC](https://forum.ansible.com/t/variable-reboot-time-out-in-linux-system-roles/7083/1 "2024-07-05T17:53:53Z")

</div>

Would a variable in a collection for reboot timeout be useful in collections like [Crypto Policies - handlers](https://github.com/linux-system-roles/crypto_policies/blob/main/handlers/main.yml) ?

Rebooting a big rack server can take longer than the default timeout. Just checking interest, should be a simple PR?

Example

```auto
- name: Reboot the managed host to apply crypto policies changes
  reboot:
     reboot_timeout: "{{ override_reboot_timeout | default(omit) }}"
  listen: __crypto_policies_handler_modified
  when:
    - crypto_policies_reboot_required | d(false)
    - crypto_policies_reboot_ok | d(false)

```
