Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/juju4/ansible-orchestrator

set up an ansible orchestrator with given github or galaxy roles
https://github.com/juju4/ansible-orchestrator

Last synced: 12 days ago
JSON representation

set up an ansible orchestrator with given github or galaxy roles

Awesome Lists containing this project

README

        

[![Actions Status - Master](https://github.com/juju4/ansible-orchestrator/workflows/AnsibleCI/badge.svg)](https://github.com/juju4/ansible-orchestrator/actions?query=branch%3Amaster)
[![Actions Status - Devel](https://github.com/juju4/ansible-orchestrator/workflows/AnsibleCI/badge.svg?branch=devel)](https://github.com/juju4/ansible-orchestrator/actions?query=branch%3Adevel)

# Orchestrator ansible role

A simple ansible role to setup a dedicated host as an ansible/vagrant orchestrator.
As it is inside a "guest", it's more fit to manage remote/cloud instance (digitalocean, aws, vsphere...) than a local one (virtualbox, libvirt...)

It will install vagrant, ansible and some vagrant plugins

## Requirements & Dependencies

### Ansible
It was tested on the following versions:
* 2.0
* 2.2
* 2.5

### Operating systems

Tested on Ubuntu 14.04, 16.04, 18.04 and centos7

## Example Playbook

Just include this role in your list.
For example

```
- host: all
roles:
- juju4.orchestrator
```

## Variables

Nothing specific for now.

## Continuous integration

This role has Github action, kitchen test and also a Vagrantfile (test/vagrant).
Default kitchen config (.kitchen.yml) is lxd-based, while (.kitchen.vagrant.yml) is vagrant/virtualbox based.

Once you ensured all necessary roles are present, You can test with:
```
$ gem install kitchen-ansible kitchen-lxd_cli kitchen-sync kitchen-vagrant
$ cd /path/to/roles/juju4.orchestrator
$ kitchen verify
$ kitchen login
```
or
```
$ cd /path/to/roles/juju4.orchestrator/test/vagrant
$ vagrant up
$ vagrant ssh
```

## Troubleshooting & Known issues

* ```The conditional check 'not orchestrator_rolesonly' failed. The error was: cannot import name AnsibleVaultEncryptedUnicode```
Seems to appear on Centos (travis/docker centos6, kitchen/lxd centos7).
Python lib issue?

## License

BSD 2-clause