Skip to content

Commit

Permalink
Added examples of files with secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Fenske committed Jun 7, 2016
1 parent 6e00d48 commit 01c0c21
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
*.retry
amiKeys.yml
regionInfo.yml
*.local
6 changes: 6 additions & 0 deletions amiKeys.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
# Below are the possible examples filled with some random values

ami: "ami-12345abc"
ami_access: "ABCDEF12345GHIJK6789"
ami_secret: "HLGgiuyoy768ugHOFG78Y/YG5869gyhhkjGgoghk"
5 changes: 1 addition & 4 deletions labs/rolling-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,5 @@ curl http://<elb_hostname>/foo
ansible-playbook provision-elb-custom-healthcheks-asg-playbook.yml --extra-vars "state=absent" --tags "asg"
ansible-playbook provision-elb-custom-healthcheks-asg-playbook.yml --extra-vars "state=absent" --tags "lc"
ansible-playbook provision-elb-custom-healthcheks-asg-playbook.yml --extra-vars "state=absent lc=new-configuration" --tags "lc"
```

// TODO How to make sure instances in different zones

```

2 changes: 1 addition & 1 deletion provision-basic-asg-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@
max_size: 4
desired_capacity: 2
vpc_zone_identifier: '{{ subnetID }}'
wait_for_instances: true
wait_for_instances: false
tags: '{{ tags }}'
state: '{{ state }}'
1 change: 0 additions & 1 deletion provision-elb-custom-healthcheks-asg-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
delete_on_termination: true
user_data: '{{ bootstrap_content }}'
state: '{{ state }}'
# TODO what is 'volumes' section for?

- name: Auto-scaling Group
tags:
Expand Down
1 change: 0 additions & 1 deletion provision-to-existing-instances-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
- pip: name=docker-py
become: yes

#TODO Find a way how to update docker on the server side
tasks:
- name: Provision app
docker:
Expand Down
10 changes: 10 additions & 0 deletions regionInfo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
# Below are the possible examples filled with some random values

keypair: "my-keypair"
group: ['sg-1234a123', 'sg-a123bcde' ]
subnetID: ['subnet-1234a123', 'subnet-a123bcde']
#the region of the subnet you are using
regi: "in-somewhere-1"
tags: [Tag_key: tag_value]
elb_security_group_ids: 'sg-1234a123'

0 comments on commit 01c0c21

Please sign in to comment.