I am trying to create a lxc container by using lxc_container module provided by ansible. Can someone tell me the exact playbook task which will just create the lxc container ?
Based on the response in the comments above and your duplicate question.
It would appear that your issue is caused by not having the module lxc-python2 installed.
I'm also assuming there's other errors which your are overlooking in your posts and debugging efforts. So the steps to apply are as follows:
sudo apt-get install python-pip
pip install lxc-python2
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.