mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 11:36:10 +08:00
copr-hv: allow @sysadmin-copr to ssh as 'copr', not root
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user