diff --git a/playbooks/groups/koji-hub.yml b/playbooks/groups/koji-hub.yml index b021eefddf..5c195c6145 100644 --- a/playbooks/groups/koji-hub.yml +++ b/playbooks/groups/koji-hub.yml @@ -101,7 +101,7 @@ tasks: - name: Put public sshfs key in place authorized_key: user="root" - key="{{ lookup('file', '{{ private }}/files/releng/sshkeys/primary-s390x-sshfs' + '-staging.pub' if env == 'staging' else '.pub') }}" + key="{{ lookup('file', '{{ private }}/files/releng/sshkeys/primary-s390x-sshfs' + '-staging.pub' if env == 'staging' else '{ private }}/files/releng/sshkeys/primary-s390x-sshfs.pub') }}" state=present key_options='command="internal-sftp",from="{{ '10.16.0.25' if env == 'staging' else '10.16.0.11' }}",restrict' tags: