Commit 2503eae9 by Feanil Patel

Corrections and updates for boto template.

parent 6d98a4df
...@@ -137,4 +137,3 @@ jenkins_admin_plugins: ...@@ -137,4 +137,3 @@ jenkins_admin_plugins:
jenkins_admin_jobs: jenkins_admin_jobs:
- 'backup-jenkins' - 'backup-jenkins'
- 'build-ami'
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
- name: configure the boto profiles for jenkins - name: configure the boto profiles for jenkins
template: > template: >
src="./{{ jenkins_home }}/boto.j2" src="./{{ jenkins_home }}/boto.j2"
dest"{{ jenkins_home }}/.boto" dest="{{ jenkins_home }}/.boto"
owner="{{ jenkins_user }}" owner="{{ jenkins_user }}"
group="{{ jenkins_group }}" group="{{ jenkins_group }}"
mode="0600" mode="0600"
......
{% for deployment, creds in JENKINS_ADMIN_AWS_CREDENTIALS.iteritems() %} {% for deployment, creds in JENKINS_ADMIN_AWS_CREDENTIALS.iteritems() %}
[profile {{deployment}}] [profile {{deployment}}]
aws_access_key_id = {{ creds.ACCESS_ID }} aws_access_key_id = {{ creds.access_id }}
aws_secret_access_key = {{ creds.SECRET_KEY }} aws_secret_access_key = {{ creds.secret_key }}
{% endfor %} {% endfor %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment