feat(vars): add role defaults
This commit is contained in:
parent
80292a63a9
commit
c6760fb53a
2 changed files with 32 additions and 0 deletions
14
defaults/main.yaml
Normal file
14
defaults/main.yaml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
|
||||
# automatic reboot
|
||||
apt_automatic_reboot_time: "04:00"
|
||||
apt_automatic_reboot: true
|
||||
|
||||
# ubuntu package repositories
|
||||
apt_enable_multiverse: false
|
||||
apt_enable_universe: true
|
||||
|
||||
# ubuntu repositories urls
|
||||
apt_repository: "https://archive.ubuntu.com/ubuntu"
|
||||
apt_repository_main: "https://archive.ubuntu.com/ubuntu"
|
||||
apt_repository_security: "https://archive.ubuntu.com/ubuntu"
|
||||
18
readme.md
18
readme.md
|
|
@ -29,3 +29,21 @@ This role manages the build-in 'core' Operating System components and defaults t
|
|||
- syslog
|
||||
- timezone
|
||||
- usermanagement
|
||||
|
||||
# Vars
|
||||
## apt
|
||||
| variable | type | value(default) | comment |
|
||||
| --- | --- | --- | --- |
|
||||
| apt_automatic_reboot_time | string | 04:00 | Automated reboot at 04:00 |
|
||||
| apt_automatic_reboot | boolean | true | Toggle automated reboots |
|
||||
| apt_enable_multiverse | boolean | false | Toggle multiverse repository |
|
||||
| apt_enable_universe | boolean | true | Toggle universe repository |
|
||||
| apt_repository | string | https://archive.ubuntu.com/ubuntu | Ubuntu 22 |
|
||||
| apt_repository_main | string | https://archive.ubuntu.com/ubuntu | Ubuntu 24+ |
|
||||
| apt_repository_security | string | https://archive.ubuntu.com/ubuntu | Ubuntu 24+ |
|
||||
|
||||
## ntp
|
||||
| variable | type | value(default) | comment |
|
||||
| --- | --- | --- | --- |
|
||||
| ntp_server | string | pool.ntp.org | NTP server to sync time with |
|
||||
| timezone | string | Europe/Amsterdam | Select the timezone |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue