Closed cooktheryan closed 1 year ago
The path for ssh_key_data
should be the path to the sshkey you'd like to use. /home/user/.ssh/id_rsa
is just a placeholder.
I believe the issue is replacing user
with your local user account name. :smile:
This comes from having to use essentially an ephemeral private ssh key for aap. I think we should do the automation for that inside the populate_aap
role.
@matoval wdyt? :smile:
This comes from having to use essentially an ephemeral private ssh key for aap. I think we should do the automation for that inside the
populate_aap
role.
- Create tmp ssh key pair to use with aap
- Cleanup (remove tmp ssh key)
@matoval wdyt? smile
That makes sense to me since the private key is only for AAP.
The public keys that associate with that private key are what get populated out to servers so aap can connect to them. It could be considered a security risk to generate and put random keys into a management tool.
The path for
ssh_key_data
should be the path to the sshkey you'd like to use./home/user/.ssh/id_rsa
is just a placeholder.
The variable should probably only hold the location of the key not the read file portion.
Completed by https://github.com/redhat-cop/infra.osbuild/pull/265
Currently attempting to run
osbuild_populate_aap.yml
and hitting the following err