1
0
Fork 0
forked from infra/ansible

copr-hv: lookup for buildsys keys in backend role

This commit is contained in:
Jiri Kyjovsky 2026-04-17 13:17:50 +02:00
commit e9332887b4

View file

@ -142,8 +142,8 @@
- name: Assure that copr user on copr-backend can ssh as copr@...
authorized_key:
user: copr
key: "{{ item }}"
with_file:
key: "{{ lookup('file', roles_path ~ '/copr/backend/files/provision/files/' ~ item) }}"
loop:
- buildsys.production.pub
- buildsys.staging.pub