Project

General

Profile

Bug #26118

Updated by Taner Tasar almost 6 years ago

Hello, 

 I have problem to execute Ansible Roles from foreman    1.21.0-RC4. 
 If i execute ansible roles the host params are not recognized. 
 The connection user is always root. 


 My host params are: 
 ansible_user = ansible 
 ansible_password = xxxxx 
 ansible_become = true 
 ansible_connection = ssh 


 After execution: 
  1:Error initializing command: Net::SSH::AuthenticationFailed - Authentication failed for user root@test-doku.mgmt.tc 
  2:Exit status: EXCEPTION 



 Following packages are installed: 

 ii    foreman                                                       1.21.0~rc4-1                                 amd64          Systems management web interface 
 ii    foreman-cli                                                   1.21.0~rc4-1                                 all            metapackage providing hammer CLI for Foreman 
 ii    foreman-debug                                                 1.21.0~rc4-1                                 all            provides support utility foreman-debug. 
 ii    foreman-installer                                             1.21.0~rc4-1                                 all            Automated puppet-based installer for The Foreman 
 ii    foreman-postgresql                                            1.21.0~rc4-1                                 all            metapackage providing PostgreSQL dependencies for Foreman 
 ii    foreman-proxy                                                 1.21.0~rc4-1                                 all            RESTful proxies for DNS, DHCP, TFTP, and Puppet 
 ii    ruby-foreman-ansible                                          2.3.1-1                                      all            Foreman Ansible plugin 
 ii    ruby-foreman-deface                                           1.3.2-1                                      all            Foreman Deface Plugin Dependency 
 ii    ruby-foreman-hooks                                            0.3.14-1                                     all            Foreman Hooks Plugin 
 ii    ruby-foreman-remote-execution                                 1.7.0-1                                      all            Foreman Remote Execution Plugin 
 ii    ruby-foreman-remote-execution-core                            1.1.3-1                                      all            Foreman remote execution - core bits 
 ii    ruby-foreman-tasks                                            0.14.5-1                                     all            Tasks management engine for Foreman. 
 ii    ruby-foreman-tasks-core                                       0.2.5-1                                      all            Foreman tasks - core bits 
 ii    ruby-hammer-cli-foreman                                       0.16.0-1                                     all            Foreman commands for Hammer 
 ii    ruby-hammer-cli-foreman-remote-execution                      0.1.0-1                                      all            foreman_remote_execution commands for Hammer CLI 
 ii    ruby-hammer-cli-foreman-tasks                                 0.0.13-1                                     all            foreman_tasks commands for Hammer CLI 



 ii    ruby-smart-proxy-ansible                                      2.1.0-1                                      all            Ansible support for Foreman smart proxy 
 ii    ruby-smart-proxy-dynflow                                      0.2.2-1                                      all            Dynflow runtime for Foreman smart proxy 
 ii    ruby-smart-proxy-dynflow-core                                 0.2.2-1                                      all            Dynflow runtime for Foreman smart proxy 
 ii    ruby-smart-proxy-remote-execution-ssh                         0.2.0-2                                      all            SSH remote execution provider for Foreman smart proxy 


 Please help. 

Back