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
- Host: GitHub
- URL: https://github.com/thedumbtechguy/ansible-role-basic-server-setup
- Owner: thedumbtechguy
- Created: 2017-04-21T16:02:00.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-24T10:35:31.000Z (about 9 years ago)
- Last Synced: 2025-07-23T13:52:19.684Z (11 months ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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