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
d2417b6b
Unverified
Commit
d2417b6b
authored
Jul 10, 2018
by
Stu Young
Committed by
GitHub
Jul 10, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4675 from edx/estute/jenkins-container-local-security-config
do not copy security config for local jenkins dev
parents
ad188848
7c71d5ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
playbooks/roles/jenkins_common/tasks/main.yml
+4
-4
No files found.
playbooks/roles/jenkins_common/tasks/main.yml
View file @
d2417b6b
...
...
@@ -173,12 +173,12 @@
-
install:base
-
install:jenkins-configuration
-
name
:
Copy all init scripts other than oauth for local dev
-
name
:
Copy all init scripts other than oauth
and security
for local dev
command
:
'
cp
{{
jenkins_common_git_home
}}/jenkins-configuration/{{
jenkins_common_configuration_src_path
}}/{{
item
}}
{{
jenkins_common_home
}}/init.groovy.d/'
with_items
:
'
{{
jenkins_common_configuration_scripts
}}'
become
:
true
become_user
:
'
{{
jenkins_common_user
}}'
when
:
'
item
!=
"4configureGHOAuth.groovy"
and
init_scripts_copied
is
not
defined'
when
:
'
item
!=
"4configureGHOAuth.groovy"
and
i
tem
!=
"4configureSecurity.groovy"
and
i
nit_scripts_copied
is
not
defined'
tags
:
-
jenkins:local-dev
...
...
@@ -212,14 +212,14 @@
-
install:base
-
install:jenkins-configuration
-
name
:
For local dev, copy any config files other than oauth
-
name
:
For local dev, copy any config files other than oauth
and security
template
:
src
:
'
{{
role_path
}}/templates/config/{{
item
}}.yml.j2'
dest
:
'
{{
jenkins_common_config_path
}}/{{
item
}}.yml'
owner
:
'
{{
jenkins_common_user
}}'
group
:
'
{{
jenkins_common_group
}}'
with_items
:
'
{{
jenkins_common_non_plugin_template_files
}}'
when
:
'
item
!=
"security"
and
templates_copied
is
not
defined'
when
:
'
item
!=
"
github_oauth"
and
item
!=
"
security"
and
templates_copied
is
not
defined'
tags
:
-
jenkins:local-dev
...
...
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