andreasscherbaum / ansible-lxc-ssh

Ansible connection plugin using ssh + lxc-attach
45 stars 22 forks source link

module ''ansible.constants'' has no attribute ''ANSIBLE_SSH_CONTROL_PATH'' #57

Open strk opened 3 months ago

strk commented 3 months ago

I get this error with Ansible 2.14.3:

TASK [Gathering Facts] ************************************************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: module 'ansible.constants' has no attribute 'ANSIBLE_SSH_CONTROL_PATH'
fatal: [matrix]: FAILED! => 
  msg: 'Unexpected failure during module execution: module ''ansible.constants'' has no attribute ''ANSIBLE_SSH_CONTROL_PATH'''
  stdout: ''
andreasscherbaum commented 3 months ago

There is a related PR for the ssh module:

https://github.com/ansible/ansible/pull/76962