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
# Init
go-deploy -d aws -init
# Deploy
go-deploy -d aws -w <workspace> -c config.yml -verbose
go-deploy -d aws -w <workspace> -show
go-deploy -d aws -w <workspace> -output
# Tear Dow
go-deploy -d aws -w <workspace> -destroy -verbose
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.2.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for go_deploy-0.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71ecd9b8950817d7067d599ce4adb2ed2e60314139a2b724a37b874bd5f3797d |
|
MD5 | 643b47477cd9e1899a210416bcf52595 |
|
BLAKE2b-256 | 72b86ab802c6accf30f7d8843f3570f9989d0aa1d8a6572090b4470712df9f31 |