Bug #17150
closedAnsible Plugin uses the foreman user as ssh user to execute playbooks
Description
Ansible Plugin uses the 'foreman' user to open a ssh connection ( foreman@myhost ). I tried to configure the ssh user via global/host parameters in the foreman web ui - without luck.
I tried all to me know ansible variables:
- remote_user
- ansible_user
- ansible_ssh_user
How is it possible to configure the ssh user?
How is it possible to configure the ssh user in the ansible plugin?
Updated by Daniel Kuffner about 8 years ago
Versions:
ansible 2.1.2.0
rpm -qa | grep foreman
foreman-release-scl-3-1.el7.noarch
foreman-1.13.1-1.el7.noarch
tfm-rubygem-foreman_setup-5.0.0-1.fm1_13.el7.noarch
tfm-rubygem-foreman-tasks-0.8.2-1.fm1_13.el7.noarch
foreman-release-1.13.1-1.el7.noarch
foreman-selinux-1.13.1-1.el7.noarch
foreman-installer-1.13.1-1.el7.noarch
foreman-debug-1.13.1-1.el7.noarch
foreman-postgresql-1.13.1-1.el7.noarch
foreman-proxy-1.13.1-1.el7.noarch
tfm-rubygem-hammer_cli_foreman-0.8.0-1.el7.noarch
tfm-rubygem-foreman_ansible_core-0.0.1-2.fm1_13.el7.noarch
tfm-rubygem-foreman_ansible-1.2.1-1.fm1_13.el7.noarch
foreman-cli-1.13.1-1.el7.noarch
tfm-rubygem-foreman-tasks-core-0.1.1-1.fm1_13.el7.noarch
Updated by Daniel Lobato Garcia about 8 years ago
Terrifyingly, I forgot to do this - no way to configure it as of now. I'll do my best to release a new version that allows that.
Updated by Daniel Lobato Garcia about 8 years ago
The smart proxy plugin doesn't allow setting the user either
Updated by Tomer Brisker about 8 years ago
- Status changed from New to Assigned
- Assignee set to Tomer Brisker
Updated by Shimon Shtein almost 8 years ago
- Blocked by Feature #17527: As a developer, I want to have facets easily applicable to both hosts and host groups. added
Updated by Tomer Brisker almost 8 years ago
- Blocked by deleted (Feature #17527: As a developer, I want to have facets easily applicable to both hosts and host groups.)
Updated by Tomer Brisker almost 8 years ago
- Related to Feature #17527: As a developer, I want to have facets easily applicable to both hosts and host groups. added
Updated by The Foreman Bot almost 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman_ansible/pull/60 added
Updated by Anonymous almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_ansible|a818cfbd220840fc63221a39353dbed35196b3d2.