Seiso::ImportAnsible

Gem Version Build Status Inline docs

Imports Ansible inventory files into Seiso as nodes and machines.

Installation

$ gem install seiso-import_ansible

Usage

  1. Create a directory ~/.seiso-importers
  2. Place appropriately modified copy of seiso.yml.sample in there.
  3. Run seiso-import-ansible inv_file group_name service_instance_key to perform the import, where
    • inv_file is the path to the inventory file you want to import,
    • group_name is the Ansible group name as it appears in the inventory file, and
    • service_instance_key references the Seiso service instance to which you want to attach the imported nodes.

Contributing

  1. Fork it ( https://github.com/ExpediaDotCom/seiso-import_ansible/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new pull request.

Development

Rake tasks available via

$ rake tasks

In particular, run the unit tests using

$ rake test

Build and install the gem using Rake:

$ rake install