crushlovely.hostname

Ansible Role to edit server hostname

[Build Status

Current Version

This Ansible role installs AWS EC2 API tools and edits the server hostname. It will grep the EC2 API for the server tag_Name and use that as the server hostname. This role assumes that you have provisioned your severs with a tag name.

Installation

$ ansible-galaxy install https://github.com/crushlovely/ansible-hostname.git, v1.0.0

Variables

aws:
access_key: 1234567890
secret_key: 1234567890

Usage

Once this role is installed on your system, include it in the roles list of your playbook.

- hosts: localhost
  roles:
    - ansible-hostname

Dependencies

None

License

MIT

About

Uses AWS EC2 API tools to edit the Ubuntu server hostname

Install
ansible-galaxy install crushlovely.hostname
GitHub repository
License
mit
Downloads
71