Няма описание

Chris Mague 7713071362 notes преди 5 години
ansible 7713071362 notes преди 5 години
.gitignore d594b3c195 build and install redis server version 6.0 преди 5 години
.terraform-version 0077fc9141 initial преди 5 години
README.md d594b3c195 build and install redis server version 6.0 преди 5 години
inputs.tf 0077fc9141 initial преди 5 години
maguec1.tfvars a8328daf5e better vars преди 5 години
main.tf 5898022841 cpredis start преди 5 години
variables.tf 7cf5f7df88 update преди 5 години

README.md

Example of calling modules to build an RE environment

Prerequisites

  • aws-cli
  • tfenv
  • ansible

Generate Key Pair

aws ec2 create-key-pair --profile redislabs --key-name maguec1 --region us-west-1 \
| jq .KeyMaterial |  awk '{gsub(/\\n/,"\n")}1' | \
sed -e s/\"//g >> ~/.ssh/maguec1.pem

chmod 0600 ~/.ssh/maguec1.pem

After ansible

ansible-playbook ansible/cp_nodes.yml --private-key ~/.ssh/maguec1.pem -i /tmp/maguec1_all_nodes.ini