Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
yoho-ansible-roles
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
chunhua.zhang
2018-10-23 15:40:52 +0800
Commit
7a4c21814628010ca87ef9c0cf66cb2fc89e3e1b
1 parent
b5c3cc62
add new playbook
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
playbooks/authkey.yml
playbooks/authkey.yml
0 → 100644
View file @
7a4c218
# add auth key from local file to remote user
---
-
hosts
:
search-service
remote_user
:
root
tasks
:
-
name
:
deliver authorized_keys
authorized_key
:
user
:
root
key
:
"
{{
lookup('file',
'/home/ansible/yoho-ansible-roles/search.pub')
}}"
state
:
present
exclusive
:
no
...
...
Please
register
or
login
to post a comment