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
d429b84a
Commit
d429b84a
authored
Jun 14, 2017
by
Joseph Mulloy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uppercase variable USER_FAIL_MISSING_KEYS OPS-1433
parent
21b8a4d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
playbooks/roles/user/defaults/main.yml
+1
-1
playbooks/roles/user/tasks/main.yml
+1
-1
No files found.
playbooks/roles/user/defaults/main.yml
View file @
d429b84a
...
...
@@ -47,4 +47,4 @@ user_debian_pkgs:
# users. In the default false state this playbook will only print a warning
# message, but not halt.
#
user_fail_missing_keys
:
false
USER_FAIL_MISSING_KEYS
:
false
playbooks/roles/user/tasks/main.yml
View file @
d429b84a
...
...
@@ -140,7 +140,7 @@
msg
:
"
User
{{
item.item.name
}}
doesn't
have
an
SSH
key
associated
with
their
github
account"
with_items
:
"
{{
github_users_return.results
|
default([])
}}"
# We skip users in the previous task, and they end up with no content_length
when
:
(
user_fail_missing_keys
and 'content' in item and item.content == "")
when
:
(
USER_FAIL_MISSING_KEYS
and 'content' in item and item.content == "")
-
name
:
Get github key(s) and update the authorized_keys file
authorized_key
:
...
...
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