0 votes
1 view
in Devops and Agile by (2.3k points)

So, i have been working on ansible tool.

This is what my task looks like:

- name: Create a started container


      name: test-container-started

      container_log: true

      template: ubuntu

      state: started

      template_options: --release trusty

this is the error i am getting:

> TASK: [lxc | Create a started container]

> **************************************  failed: [localhost] => {"failed": true, "parsed": false}

> BECOME-SUCCESS-azsyqtknxvlowmknianyqnmdhuggnanw failed=True msg='The

> lxc module is not importable. Check the requirements.' The lxc module

> is not importable. Check the requirements.

> FATAL: all hosts have already failed -- aborting

Can someone help me out ?

Please log in or register to answer this question.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !