andreasscherbaum / ansible-lxc-ssh

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

Fix detection of LXC v1 #4

Closed jantore closed 7 years ago

jantore commented 7 years ago

The lxc_version variable is incorrectly set to 2 even if version 1 was detected. Here's a tiny fix.

andreasscherbaum commented 7 years ago

Nice catch (yes, shows that I never used v1)