Skip to content

Ansible role to patch and update linux systems

License

Notifications You must be signed in to change notification settings

final-gene/ansible-role-linux-patchday

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role linux_patchday

Description

This role allows patching and updating linux systems.

Installation

ansible-galaxy install finalgene.linux_patchday

Requirements

None

Role Variables

Variable Type Default Comments
linux_patchday_distro_upgrade boolean false true if distribution update should be performed
linux_patchday_distro_release string Name of the target release for distribution update.

e.g. buster
reboot_timeout integer 300 Maximum seconds to wait for machine to reboot and respond to a test command.
pre_reboot_delay integer 0 Seconds to wait before reboot. Passed as a parameter to the reboot command.
post_reboot_delay integer 30 Seconds to wait after the reboot command was successful before attempting to validate the system rebooted successfully.
reboot_test_command string uptime Command to run on the rebooted host and expect success from to determine the machine is ready for further tasks.

Dependencies

None

Example Playbook

- hosts: all
  roles:
    - role: finalgene.linux_patchday

Author

License

This project is under the MIT License. See the LICENSE file for the full license text.

Copyright

(c) 2022, final gene

About

Ansible role to patch and update linux systems

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages