copr-hv: allow @sysadmin-copr to ssh as 'copr', not root
This commit is contained in:
parent
e78f4671e2
commit
8ebff52f89
2 changed files with 6 additions and 2 deletions
|
@ -1,8 +1,6 @@
|
|||
---
|
||||
virthost: true
|
||||
|
||||
root_auth_users: @sysadmin-copr
|
||||
|
||||
vpn: true
|
||||
primary_auth_source: ipa
|
||||
ipa_host_group: vmhost-copr
|
||||
|
|
|
@ -88,6 +88,12 @@
|
|||
with_file:
|
||||
- buildsys.pub
|
||||
|
||||
- name: add root keys for sysadmin-main and other allowed users
|
||||
action: authorized_key user=copr key={{ item }}
|
||||
with_lines:
|
||||
- "{{ auth_keys_from_fas}} @sysadmin-copr"
|
||||
tags: copr_admins
|
||||
|
||||
# todo: generate it's own key
|
||||
- name: make sure hostA can ssh to hostB
|
||||
copy:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue