buluma.reboot
Ansible Role Reboot
This role is designed to reboot your system.
GitHub | Version | Issues | Pull Requests | Downloads |
---|---|---|---|---|
Example Playbook
This playbook example is from molecule/default/converge.yml
and is tested with every update, pull request, and release.
---
- name: Converge
hosts: all
become: true
gather_facts: true
roles:
- role: buluma.reboot
Before using the role, the machine must be set up. In Continuous Integration (CI), this is done with molecule/default/prepare.yml
:
---
- name: Prepare
hosts: all
gather_facts: false
become: true
roles:
- role: buluma.bootstrap
For more detailed instructions, see this full explanation and example on using these roles.
Role Variables
The default variable settings are in defaults/main.yml
:
---
# Default values for reboot
# Some operating systems can check if a reboot is needed.
# This can be set to always reboot.
reboot_always: false
# Time to wait before initiating a reboot.
reboot_delay: 4
# Seconds to wait before checking if the machine is running again.
reboot_up_delay: 8
# Optional message for the reboot action, useful for tracking.
reboot_message: "Ansible role buluma.reboot initiated a reboot."
Requirements
- Python packages listed in requirements.txt.
State of Used Roles
These roles help prepare a system, but you can use other methods as well.
Requirement | GitHub | Version |
---|---|---|
buluma.bootstrap |
Context
This role is part of a set of compatible roles. For more information, check out the documentation for these roles.
Here's an overview of related roles:
Compatibility
This role works with these container images:
Container | Tags |
---|---|
Alpine | All |
Amazon | Candidate |
EL | 8 |
Debian | All |
Fedora | All |
OpenSUSE | All |
Ubuntu | All |
Kali | All |
The minimum Ansible version required is 2.12, and tests have been conducted on:
- The previous version.
- The current version.
- The development version.
If you encounter any issues, please report them on GitHub.
Changelog
License
Author Information
ansible-galaxy install buluma.reboot