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.
- Host: GitHub
- URL: https://github.com/torarg/ad
- Owner: torarg
- License: isc
- Created: 2024-04-21T23:30:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-07T16:56:29.000Z (over 1 year ago)
- Last Synced: 2025-02-05T03:19:13.582Z (over 1 year ago)
- Language: Shell
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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