Description of problem: Satellite is almost never the first Ansible capable tool to arrive in an environment. The existing configuration methodology for a fresh Sat6 implementation, in effect, forces the user to create a new set of Ansible credentials which is likely to be redundant as many, if not most, customers will already have some form of Ansible or credential authorized automation in place. This is our problem here at Fiserv! Version-Release number of selected component (if applicable): 6.11.5.3 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
I am not sure we understand your request correctly. Are you requesting a feature where Satellite can reuse existing credentials (username/password, ssh key, etc) for the Ansible/REX feature instead of creating an own key and having you the user enroll that key on all the machines?
(In reply to Evgeni Golov from comment #2) > I am not sure we understand your request correctly. Are you requesting a > feature where Satellite can reuse existing credentials (username/password, > ssh key, etc) for the Ansible/REX feature instead of creating an own key and > having you the user enroll that key on all the machines? Yes, this is what I would like to see. I don't want to redo alot of work that is already done with the original/Legacy Ansible ID/Account.
You can stop Satellite from generating an SSH key by using `--foreman-proxy-plugin-remote-execution-script-generate-keys false` during installation. Then you can provide an own SSH key in `/var/lib/foreman-proxy/ssh/id_rsa_foreman_proxy(.pub)` yourself (or even change the location with --foreman-proxy-plugin-remote-execution-script-ssh-identity-dir/--foreman-proxy-plugin-remote-execution-script-ssh-identity-file). If you also need to alter the username used for SSH, there is the remote_execution_ssh_user setting, which can be either set globally or as a parameter for a host or hostgroup. Would that suit your needs?
we will test this out and let you know.