Comments (5)
Hey, sorry for that. The respawn import and the runtime requirements are a bug. The respawn is actually not required. I will release a fix for that in some hours 👍🏼
from ansible-collection.
The problem is fixed in the newest version (1.2.1) ready to download.
from ansible-collection.
I think there it is (not):
# python3
Python 3.6.8 (default, Aug 12 2021, 07:06:15)
[GCC 8.4.1 20200928 (Red Hat 8.4.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ansible.module_utils.common.respawn import probe_interpreters_for_module
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'ansible.module_utils.common.respawn'
# ls /usr/lib/python3.6/site-packages/ansible/module_utils/common/
_collections_compat.py
collections.py
dict_transformations.py
file.py
__init__.py
_json_compat.py
json.py
network.py
parameters.py
process.py
__pycache__
removed.py
sys_info.py
text _utils.py
validation.py
from ansible-collection.
For example, the ansible.module_utils.common.respawn package is only available in Ansible 2.11 and higher. The following module code would fail during the payload build on Ansible 2.10 or earlier (as the requested Python module does not exist, and is not wrapped in a block to signal to the payload builder that it can be omitted from the module payload).
try:
from ansible.module_utils.common.respawn import respawn_module
except ImportError:
respawn_module = None
...
if needs_respawn:
if respawn_module:
respawn_module(target)
else:
module.fail_json('respawn is not available in Ansible < 2.11, ensure that foopkg is installed')
Why was i allowed to install this collection...
I just saw your meta/runtime.yml
- maybe it needs to be meta/main.yml
?
from ansible-collection.
Proxy is needed as expected - Ansible 2.11 did the trick.
I will let this issue open for now - feel free to close.
from ansible-collection.
Related Issues (14)
- Can't install with ansible-galaxy collection HOT 3
- diff support
- dns_info module HOT 3
- Support for API keys HOT 10
- type SRV api failed HOT 2
- add inwx to the official ansible-modules HOT 1
- Deleting record not working? HOT 3
- Galaxy URL in README is no longer optimal HOT 1
- inwx.collection.session results always in 2200 Authentication error HOT 2
- Add support for 2FA HOT 13
- Documented TTL limits do not match API HOT 1
- Using the module causes systemd WALL messages HOT 1
- Feature request: Multiple values HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-collection.