mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-08 11:39:02 +00:00
Update liblxc error message
The error is not specific to python2, so remove the version. Also add a test for it.
This commit is contained in:
parent
b24c63b55f
commit
a849fe6991
2 changed files with 12 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class Connection(ConnectionBase):
|
|||
super(Connection, self)._connect()
|
||||
|
||||
if not HAS_LIBLXC:
|
||||
msg = "lxc bindings for python2 are not installed"
|
||||
msg = "lxc python bindings are not installed"
|
||||
raise errors.AnsibleError(msg)
|
||||
|
||||
if self.container:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue