Switching user management solution

This commit is contained in:
Tyler Hale 2025-02-02 20:37:05 -07:00
parent 82dffd5b1d
commit c83cad2e88
Signed by: Tyler
GPG key ID: C7CC4B910D88EF96
17 changed files with 51 additions and 80 deletions

View file

@ -10,30 +10,6 @@ If the "base_core_hostname" variable is defined, it is recommended to set the an
| ----------------------- | ------------------------------------------------------------- |
| ansible_ssh_common_args | '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' |
## Role Variables
### Core Variables
| Variable | Default | Choices | Comments |
| -------------------------------------------- | ------------- | ----------- | ------------------------------------------------------------------------------- |
| base_core_cert_common_name | nodename | | Common name for created self-signed cert |
| base_core_firewall_configure | True | True, False | Allows the firewall to be configured |
| base_core_hostname | "" | | Defines the computer hostname |
| base_core_install_updates | True | True, False | Install all available updates for the distro at runtime |
| base_core_management_user | ansible_user | | Defines the account that ansible will use for management in the future |
| base_core_management_user_disable_password | False | True, False | When enabled the password for the management user account will be disabled |
| base_core_motd_banner | "" | | Banner to be added to MOTD if desired |
| base_core_motd_configure | True | True, False | Allows the MOTD to be configured |
| base_core_root_ca_basename | "" | | Basename of the cert for local system reference |
| base_core_root_ca_convert | False | True, False | Converts the defined certificate from DER to PEM type |
| base_core_root_ca_url | "" | | URL of a Root CA to install |
| base_core_secondary_user | "" | | Defines a secondary account that ansible configure for management in the future |
| base_core_secondary_user_disable_password | False | True, False | When enabled the password for the secondary user account will be disabled |
| base_core_ssh_permit_password_authentication | False | True, False | Permits the use of passwords for ssh |
| base_core_ssh_permit_root_login | False | True, False | Permits the use of root logins for ssh |
| base_core_timezone | America/Boise | | Defines the timezone to apply to the client |
| base_core_web_management | False | True, False | Enables installation of the Cockpit web management package(s) |
## Example
Execute playbook with needed variables