This playbook installs and configures a number of base applications for the target node(s).
- SSH
- Add the specified
target_public_key
to the node's authorized keys list
- Add the specified
- Log Rotation (via logrotate)
- Journalctl (maximum disk usage)
git
installationntp
installation- And timezone configuration
- Sudoer user
- To be used in subsequent ansible playbooks
- Base target packages (e.g.
wget
,curl
, etc.)
target_public_key_filename
: Filename of the target SSH public key to add to the node's authorized keys listdefault_local_timezone
: Default timezone to be configured on the nodesudoer_user
: Name of the sudoer user to createsudoer_group
: Name of the sudoer user to create/managetarget_sudo_defaults
: Configuration of theansible-sudo
role.- Note: this must be updated if changing
sudoer_user
orsudoer_gruop
- Note: this must be updated if changing
target_purge_other_sudoers_files
: By default, all other sudoer files will be purged/removed.target_packages
: List of packages to install/updatejournalctl_config
: Log retention configuration forjournalctl
target_git_version
: Target git version to installtarget_logrotate_scripts
: List of logrotate scripts to be generated.