Same here with `docker_container`, completely ignores `privileged: true`. On Monday, September 8, 2014 at 6:38:52 PM UTC-3, Michael DeHaan wrote: > > Can you share the output of ansible --version ? > > > > On Mon, Sep 8, 2014 at 4:07 AM, Abed Halawi <[email protected] > <javascript:>> wrote: > >> I am using a playbook task to run a docker containers, it's running >> correctly except that it is not running with the `--privileged` option >> although I am choosing `privileged=yes`: >> >> - name: Launch Datadog monitoring agent >>> docker: >>> image: datadog/docker-dd-agent >>> privileged: yes >>> name: dd-agent >>> hostname: "{{datadog.hostname}}" >>> volumes: >>> - /var/run/docker.sock:/var/run/docker.sock >>> - /proc/mounts:/host/proc/mounts:ro >>> - /cgroup:/host/sys/fs/cgroup:ro >>> env: "API_KEY={{datadog.key}}" >>> tags: monitoring >> >> >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/97745d71-73cf-4d8e-907d-fb384f265268%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/97745d71-73cf-4d8e-907d-fb384f265268%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > >
-- 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/f2c149f2-02e1-4286-8a3d-01341f4ed693%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
