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

https://github.com/torarg/ad

ad is a helper for managing ansible deployments.
https://github.com/torarg/ad

Last synced: 10 months ago
JSON representation

ad is a helper for managing ansible deployments.

Awesome Lists containing this project

README

          

# about
ad is my opioniated approach on managing ansible deployments.
It creates an almost ready to use ansible deployment directory
by:

- writing an inventory based on given hosts
- creating host groups for each given role (all hosts are in all groups by default)
- writing a playbook which
- imports all given roles
- each role will only be run if the host is part of the corresponding group
- also the group name is added as tag to the import task
- pulling a list of given roles from a git repository
- copy role defaults to corresponding group_vars
- writing a new ssh keypair to the deployment directory
- writing a new ssh config to the deployment directory
- initiating a git repository in the deployment directory
- use git-crypt to encrypt secret and inventory files