Base setup of a server.
base_timezone: Timezone to configure on the hostbase_unattended_update_enabled: Whether unattended updates should be enabled (default:true)base_unattended_reboot_enabled: Whether unattended upgrades may reboot automatically if needed (default:true)base_unattended_reboot_time: Time when unattended-upgrades should reboot if needed (default:"05:00")base_unattended_reboot_k3s_drain_hook: Whether to install a k3s drain pre-reboot hook (default:false)base_unattended_reboot_k3s_drain_timeout: Timeout fork3s kubectl drainin the optional k3s hook (default:"120s")
- hosts: all
tasks:
- ansible.builtin.include_role:
name: ansible-base
vars:
base_timezone: "Europe/Rome"To build and publish the role, visit the GitHub Actions page of the repository and trigger the workflow "Release Package" manually.