An open API service indexing awesome lists of open source software.

https://github.com/thedumbtechguy/ansible-role-basic-server-setup

An ansible role to configure some basics on a new linux host
https://github.com/thedumbtechguy/ansible-role-basic-server-setup

Last synced: 4 months ago
JSON representation

An ansible role to configure some basics on a new linux host

Awesome Lists containing this project

README

          

# Ansible Role: Basic Server Setup

An ansible role to configure some basics on a new linux host.

## Requirements

> This role has been tested on `Ubuntu 16.04` and `Ubuntu 16.10` only.

## Configuration Actions

### Network

Set the hostname and disable ipv6.

#### Variables

- `network_server_fqdn`: the hostname to set for this host.
- Default: `[undefined]`
> **NOTE**: this should be set per host, ideally as an inventory variable.

- `network_disable_ipv6`: disable ipv6.
- Default: `false`

### SSH

Configure SSH to use a centralized authorized_keys location for easy management.

## Usage Example

```yaml
- hosts: all
vars:
network_server_fqdn: host.domain.tld
network_disable_ipv6: true
roles:
- thedumbtechguy.basic-server-setup
```

## License

MIT / BSD

## Author Information

This role was created by [TheDumbTechGuy](https://github.com/thedumbtechguy) ( [twitter](https://twitter.com/frostymarvelous) | [blog](https://thedumbtechguy.blogspot.com) | [galaxy](https://galaxy.ansible.com/thedumbtechguy/) )

## Credits