ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
831 stars 1.53k forks source link

The "jail" connection plugin has an improperly configured remote target value #4962

Open mekanix opened 2 years ago

mekanix commented 2 years ago

Summary

The inventory file contains only freenit ansible_connection=jail ansible_python_interpreter='"/usr/bin/env python"'. Running any task yields a warning: [WARNING]: The "jail" connection plugin has an improperly configured remote target value, forcing "inventory_hostname" templated value instead of the string. What should be in inventory file when using jail connection?

Issue Type

Documentation Report

Component Name

jail connection

Ansible Version

$ ansible --version
ansible [core 2.13.1]
  config file = None
  configured module search path = ['/usr/home/meka/.ansible/plugins/modules', '/usr/local/share/py39-ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.9/site-packages/ansible
  ansible collection location = /usr/home/meka/.ansible/collections:/usr/local/share/py39-ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.9.13 (main, May 19 2022, 01:16:32) [Clang 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c
  jinja version = 3.0.1
  libyaml = True

Community.general Version

$ ansible-galaxy collection list community.general
# /usr/local/lib/python3.9/site-packages/ansible_collections
Collection        Version
----------------- -------
community.general 5.0.2

Configuration

$ ansible-config dump --only-changed

OS / Environment

FreeBSD 13.1

Additional Information

No response

Code of Conduct

ansibullbot commented 2 years ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

felixfontein commented 2 years ago

!component =plugins/connection/jail.py

ansibullbot commented 2 years ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 2 years ago

cc @None click here for bot help

felixfontein commented 2 years ago

This would need to be fixed in the same way as #4912.