A quick role to apply most obvious initial setting to any cloud server. Currently following is done:
- Root login disabled
- Disable password login
- Limit Journalctl disk usage to avoid disk overflow
- Install often required packages
None.
Available variables are listed below, along with default values (see defaults/main.yml
):
journalctl_max_disk_usage: 1G # Maximal disk usage by Journalctl
enable_ssh_tcp_forwarding: false # Enable TCP forwarding in SSH configuration
None.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: bastion
roles:
- { role: opentelekomcloud.server_common, enable_ssh_tcp_forwarding: True}
Apache
OpenTelekomCloud