Skip to content

Commit 752cef8

Browse files
author
Christopher M. Neill
committed
move keys out of ec2_sg.yml
1 parent e10e152 commit 752cef8

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

ansible/group_vars/all.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,7 @@ navi_mongo_port: 27017
119119
# consul
120120
consul_hostname: "{{ hostvars[groups['consul'][0]]['ansible_default_ipv4']['address'] }}"
121121
consul_port: 8500
122+
123+
# ec2 keys for SG manipulation
124+
aws_access_key: "AKIAIB3IJCCJZQWQMVSQ"
125+
aws_secret_key: "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"

ansible/group_vars/ec2_sg.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
---
22
app_name: "ec2"
33
git_branch: "null"
4-
aws_access_key: "AKIAIB3IJCCJZQWQMVSQ"
5-
aws_secret_key: "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"

ansible/sg_configure.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
- hosts: 127.0.0.1
33
connection: local
44
vars_files:
5+
- "group_vars/all.yml"
56
- "group_vars/ec2_sg.yml"
67
roles:
78
- { role: notify, tags: "notify" }

ansible/sg_create.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
- hosts: all
33
vars_files:
4-
- "group_vars/delta.yml"
4+
- "group_vars/all.yml"
5+
- "group_vars/sg_create.yml"
56
roles:
67
- { role: create_sg }

0 commit comments

Comments
 (0)