Hi,

 I'm trying to set the memory_limit for my docker container with the 
following syntax:

    - name: start docker image
      docker:
        image="{{dockerImageName}}"
        command="{{command}} {{ENVIRONMENT}}"
        memory_limit="{{memory}}"


I've tried setting memory variable to 262144 but it gives the following 
error:

TASK: [start docker image] **************************************************** 
failed: [10.30.2.239] => {"failed": true, "parsed": false} 

failed=True msg='Could not convert 262144 to integer'

I've also tried pass memory=1Gb but it also fails with a similar error. 
Even hardcoding memory_limit=262144 does not seem to work. Am I missing 
something?

Regards,
Anand

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f3da165e-7cd8-49da-a8c8-01bcb51cde19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to