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
OpenEdx
configuration
Commits
392b9460
Commit
392b9460
authored
Mar 10, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more changes to support user_info
parent
4352fbca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
playbooks/edx-east/create_all_user_types.yml
+3
-2
playbooks/edx-east/create_user.yml
+4
-3
util/jenkins/ansible-provision.sh
+1
-1
No files found.
playbooks/edx-east/create_all_user_types.yml
View file @
392b9460
...
...
@@ -15,7 +15,7 @@
when
:
user is not defined
-
name
:
give access with no sudo
set_fact
:
USER_INFO
:
CUSTOM_
USER_INFO
:
-
name
:
"
{{
user
}}"
github
:
true
-
name
:
test-admin-user
...
...
@@ -28,4 +28,5 @@
type
:
restricted
sudoers_template
:
99-analytics-manage-cmds.j2
roles
:
-
user
-
role
:
user
user_info
:
"
{{
CUSTOM_USER_INFO
}}"
playbooks/edx-east/create_user.yml
View file @
392b9460
...
...
@@ -12,16 +12,17 @@
when
:
user is not defined
-
name
:
give access with no sudo
set_fact
:
USER_INFO
:
CUSTOM_
USER_INFO
:
-
name
:
"
{{
user
}}"
github
:
true
when
:
give_sudo is not defined
-
name
:
give access with sudo
set_fact
:
USER_INFO
:
CUSTOM_
USER_INFO
:
-
name
:
"
{{
user
}}"
type
:
admin
github
:
true
when
:
give_sudo is defined
roles
:
-
user
-
role
:
user
user_info
:
"
{{
CUSTOM_USER_INFO
}}"
util/jenkins/ansible-provision.sh
View file @
392b9460
...
...
@@ -172,7 +172,7 @@ instance_tags:
owner:
$BUILD_USER
root_ebs_size:
$root_ebs_size
name_tag:
$name_tag
USER_INFO:
COMMON_
USER_INFO:
- name:
${
github_username
}
github: true
type: admin
...
...
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