server_common
OpenTelekomCloud Server-Common role
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
Requirements
None.
Role Variables
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
Dependencies
None.
Example Playbook
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}
License
Apache
Author Information
OpenTelekomCloud
About
Obvious initial setting to be applied to any cloud server
Install
ansible-galaxy install OpenTelekomCloud/ansible-role-otc-server-common
License
apache-2.0
Downloads
2188
Owner
Some projects related to OpenTelekomCloud. Blueprints and whitepapers can be found at github.com/opentelekomcloud-blueprints