Provision using terraform and ansible
Project description
Requirements
- terraform v1.1.4+
- ansible 2.10.7+
- python3 3.8.5+
Purpose
Provisions an instance on using terraform and calls ansible playbooks specified in
the yaml config file. See config.yaml.sample
, the aws
directory for sample terraform
script and stage.yaml
for sample ansible playbook.
python3 -m pip install .
cp ./config.yaml.sample config.yaml # Modify as needed ssh keys, ...
# Usage
go-deploy -h
# Dry run
go-deploy -init -c config.yml -w workspace -d aws -dry-run -verbose
# Deploy
go-deploy -init -c config.yml -w workspace -d aws -verbose
# Tear Dow
terraform -chdir=aws destroy # Enter yes when prompted.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for go-deploy-0.2.0.macosx-10.9-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ab48bfaf4cacf2dd67d2f75d59e4726ce591a28615d2e8a16ebde58ba9dd7ce |
|
MD5 | f2fcf1a143fc42c4c6ee04b649c17d8c |
|
BLAKE2b-256 | 7b920db003ebb6b5da7e361120b916d371c08431d9f3490f59c13e60d85f9adf |
Close
Hashes for go_deploy-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb649c5bf9fa217a94df15da11fdf3b7bfc53e27f5b8f1b1489ed371495f4708 |
|
MD5 | b1788b5429a27d3c4f157bd747ff936f |
|
BLAKE2b-256 | 73ce858075cd1ff07aaa16024fa72ffaede15dc760ab05430719d2f3e546dd59 |