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
baded88e
Commit
baded88e
authored
Mar 06, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
force set to yes for key file update
parent
a4e0042f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
playbooks/roles/user/tasks/main.yml
+4
-0
No files found.
playbooks/roles/user/tasks/main.yml
View file @
baded88e
...
@@ -102,9 +102,13 @@
...
@@ -102,9 +102,13 @@
# authorized_keys2 used here so that personal
# authorized_keys2 used here so that personal
# keys can be copied to authorized_keys
# keys can be copied to authorized_keys
# force is set to yes here, otherwise the keys
# won't update if they haven't changed on teh github
# side
-
name
:
copy github key[s] to .ssh/authorized_keys2
-
name
:
copy github key[s] to .ssh/authorized_keys2
get_url
:
get_url
:
url=https://github.com/{{ item.name }}.keys
url=https://github.com/{{ item.name }}.keys
force=yes
dest=/home/{{ item.name }}/.ssh/authorized_keys2 mode=0640
dest=/home/{{ item.name }}/.ssh/authorized_keys2 mode=0640
owner={{ item.name }}
owner={{ item.name }}
when
:
item.github is defined
when
:
item.github is defined
...
...
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