Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
5845ee81
Commit
5845ee81
authored
Mar 14, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating jenkins_admin to use keys in the var file
parent
d8d906eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
playbooks/roles/jenkins_admin/defaults/main.yml
+2
-2
playbooks/roles/jenkins_admin/tasks/main.yml
+3
-3
No files found.
playbooks/roles/jenkins_admin/defaults/main.yml
View file @
5845ee81
...
...
@@ -23,8 +23,8 @@ JENKINS_ADMIN_NAME: 'default_jenkins_name'
# JENKINS_ADMIN_CONFIGURATION_REPO: !!null
# JENKINS_ADMIN_CONFIGURATION_SECURE_REPO: !!null
#
# #
Local path to the
key to use to checkout secure repos on jenkins and in abbey
# JENKINS_ADMIN_GIT_KEY
_LOCAL_PATH
: !!null
# #
git
key to use to checkout secure repos on jenkins and in abbey
# JENKINS_ADMIN_GIT_KEY: !!null
#
# # EC2 Key to use when bringing up the abbey instance in ec2 (aws key-pair)
# JENKINS_ADMIN_EC2_KEY: !!null
...
...
playbooks/roles/jenkins_admin/tasks/main.yml
View file @
5845ee81
...
...
@@ -39,8 +39,8 @@
-
fail
:
"
JENKINS_ADMIN_CONFIGURATION_SECURE_REPO
is
not
defined."
when
:
JENKINS_ADMIN_CONFIGURATION_SECURE_REPO is not defined
-
fail
:
"
JENKINS_ADMIN_GIT_KEY
_LOCAL_PATH
is
not
defined."
when
:
JENKINS_ADMIN_GIT_KEY
_LOCAL_PATH
is not defined
-
fail
:
"
JENKINS_ADMIN_GIT_KEY
is
not
defined."
when
:
JENKINS_ADMIN_GIT_KEY is not defined
-
fail
:
"
JENKINS_ADMIN_EC2_KEY
is
not
defined."
when
:
JENKINS_ADMIN_EC2_KEY is not defined
...
...
@@ -88,7 +88,7 @@
-
name
:
drop the secure credentials
copy
:
>
src={{JENKINS_ADMIN_GIT_KEY_LOCAL_PATH}}
content="{{ JENKINS_ADMIN_GIT_KEY }}"
dest={{jenkins_home}}/.ssh/id_rsa
owner={{jenkins_user}}
group={{jenkins_group}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment