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.3.tar.gz
(6.9 kB
view details)
Built Distribution
File details
Details for the file go-deploy-0.4.3.tar.gz
.
File metadata
- Download URL: go-deploy-0.4.3.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08bc02c34cc03451af5c0f901006a67de9597b29fe423bea227ce0d16536df18 |
|
MD5 | 7514a3185c44a2ae54046711fe4e5612 |
|
BLAKE2b-256 | 429bb7cce75ee11911649c25080f1a4aef213e4f1a6f6412bf3b76232ccf5f8d |
File details
Details for the file go_deploy-0.4.3-py3-none-any.whl
.
File metadata
- Download URL: go_deploy-0.4.3-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39792a902056164ed1511ece79da461d5b755427f7d9d6fc907e48091a7eb82a |
|
MD5 | 584a369189e698b45887eefab908fac0 |
|
BLAKE2b-256 | a91274ba2138c4fd2447cb657a0791bb50989ee681fdd2fcb3cc713fe6b3bad0 |