Provision using terraform and ansible
Project description
Requirements
- terraform v1.1.4+
- ansible 2.10.7+
- python3 3.8+
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
go-deploy-0.4.1.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for go_deploy-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d73637df697f1d4e7e8bb9b3ccaf8136defa63d818864f3ae9d7946346d625e |
|
MD5 | 4a997c228849dd4636c7a489c89bb785 |
|
BLAKE2b-256 | a74047e73c86846f6b4ab96317a6814e04adbeeca1dd72fa93e95456af5620b6 |