russia9.initial_server_setup
Role Name
Role for setting up the server: Install necessary software, configure SSH and sudo.
Requirements
None.
Role Variables
Available variables:
create_user
- Whether to create a custom user (Default:True
) Note: If set toFalse
, thenpermit_root_login
should beyes
.username
- Name of the custom user (Default:server
)ssh_key
- Location of the SSH public key (Default:$HOME/.ssh/id_ecdsa
)ssh_port
- SSH port in the configuration file (Default:22
)permit_root_login
- Allow root login in the configuration (Default:no
)max_auth_tries
- Maximum authentication attempts (Default:5
)password_authentication
- Use password authentication (Default:no
)setup_firewall
- Whether to set up a firewall (Default:True
)
Dependencies
None.
License
GPLv3
Author Information
A section for the authors to include contact details or a website (HTML is not allowed).
Installa
ansible-galaxy install russia9.initial_server_setup
Licenza
gpl-3.0
Download
95
Proprietario
DevOps, Go developer