reggae-ansible
—
Ansible provisioner for CBSD jails
A service with ansible provisioner consists of:
- Makefile - configured for use with Ansible
- playbook - containing group_vars, inventory and roles directories
as placeholders for files generated on the fly, but can be used to
configure your playbook
- requirements.yml - list of requirements, with only one initially.
All requirements from this file are downloaded from Ansible Galaxy
templates/site.yml.tpl - this file should be edited to add/remove roles,
playbooks, etc.
When ran with this configuration, reggae will first check if
ansible executable is available on the host, and if it isn't, it will run
pkg install ansible. If you use Python's virtual environments, for
example, you can avoid having ansible available to everyone on the
system.
Quickest way to get basic service provisioned with Ansible is:
mkdir myservice
cd myservice
reggae init ansible
make
Goran Mekić <meka@tilda.center>