Skip to content

bstconsult/ansible-role-server-common

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Common ansible role with initial settings for any cloud server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published