Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

telostat/ansible-role-teloshost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role for Opinionated Host Setup

DEPRECATED

We have moved to a cloud-init based solution.

This Ansible role provides an opinionated host setup procedure.

This role is not yet on Galaxy. You can install this from the GitHub repository:

ansible-galaxy install --force git+https://github.com/telostat/ansible-role-teloshost

Requirements

TODO: Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.

Role Variables

TODO: A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.

Dependencies

TODO: A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.

Example Playbook

See playbook.yml for an example playbook and config.example.yml for an example configuration file.

License

BSD-3-Clause

Author Information

Telostat Pte Ltd

Testing

Launch a Vagrant machine:

vagrant up

Get the SSH configuration and add it to your personal SSH configuration file:

vagrant ssh-config --host teloshost >> ~/.ssh/conf.d/teloshost

Test SSH connection:

ssh teloshost

Install the role from local git repository:

ansible-galaxy install --force git+file://<absolute-path-to-this-repository>

... or from remote git repository

ansible-galaxy install --force git+https://github.com/telostat/ansible-role-teloshost

Setup ansible requirements:

ansible-galaxy install -r requirements.yml

Copy the example configuration file:

cp config.example.yml config.yml

..., edit it, and run the test playbook:

ansible-playbook -i teloshost, -e @config.yml playbook.yml

About

Ansible Role for an Opinionated Host Setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published