Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support "delegate_to: localhost" #1006

Closed
gripenk opened this issue Jan 18, 2018 · 1 comment
Closed

support "delegate_to: localhost" #1006

gripenk opened this issue Jan 18, 2018 · 1 comment

Comments

@gripenk
Copy link

gripenk commented Jan 18, 2018

ISSUE TYPE
  • Feature Idea
COMPONENT NAME
  • Installer
SUMMARY
ENVIRONMENT
  • AWX version: 1.0.2
  • AWX install method: docker on linux
  • Ansible version: X.Y.Z
  • Operating System: CetnOS 6.9
  • Web Browser:
ADDITIONAL INFORMATION

Hi, I already use ansible (CLI, host mode) to minimize my admin work. I have some workable vmware related playbook, and also some workable JT in AWX.

I am studying the possibility to have my vmware related playbook working with awx. Yes, I know it is still not possible to use vcenter credential now (#737). But when i read the document, vmware_guest_module (http://docs.ansible.com/ansible/latest/vmware_guest_module.html) requires to use "delegate_to: localhost". But AFAIK, ansible will ssh to localhost, ie, it should ssh into awx_task itself. However, the docker image does not include sshd.

Thus, my question is "how awx support "delegate_to: localhost?"" container mode AWX will be different from host mode AWX.

Btw, I think this issue (#724) is also related.

@cchurch
Copy link
Contributor

cchurch commented Jan 18, 2018

delegate_to: localhost should use local instead of ssh connection by default, unless you have explicitly added localhost to your inventory or set ansible_connection for all hosts.

See the comments on ansible/ansible#31420 for some additional things to check and changes between Ansible 2.3 and 2.4 that affect locahost.

@matburt matburt closed this as completed Jan 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants