Skip to content

Commit

Permalink
AWS deploy: rename id_rsa_free{,.pub} to id_rsa-qed{,.pub}
Browse files Browse the repository at this point in the history
  • Loading branch information
panchoh committed Mar 14, 2019
1 parent 7b073d8 commit eeb2b5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deploy/aws/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ cd provision

if [ -z "$@" ];
then
ansible-playbook --inventory-file=$(which terraform-inventory) --private-key ~/.ssh/id_rsa_free main.yml -f 10
ansible-playbook --inventory-file=$(which terraform-inventory) --private-key ~/.ssh/id_rsa-qed main.yml -f 10
else
echo "Using custom Ansible Playbook command."
ansible-playbook "$@" --inventory-file=$(which terraform-inventory) --private-key ~/.ssh/id_rsa_free main.yml -f 10
ansible-playbook "$@" --inventory-file=$(which terraform-inventory) --private-key ~/.ssh/id_rsa-qed main.yml -f 10
fi
2 changes: 1 addition & 1 deletion deploy/aws/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ variable "aws_profile" {
}

variable "keypath" {
default = "~/.ssh/id_rsa_free"
default = "~/.ssh/id_rsa-qed"
}

variable "vpc_cidr" {
Expand Down

0 comments on commit eeb2b5a

Please sign in to comment.