I'm trying to install Docker images using Ansible.
tasks:
- name: Fetch Docker Images
docker:
name: RethinkDB
image: rethinkdb:latest
state: present
I DON'T have any docker images installed in the target machine. The target
box is a Vagrant Box.
When I provision the box. The module is not pulling anything from the
registry.
Am I doing something stupid or is the docker_module doing something silly?
###########
Log:
###
TASK: [Fetch Docker Images]
***************************************************
<127.0.0.1>
<127.0.0.1> state=present image=rethinkdb:latest
<127.0.0.1>
IdentityFile=/Users/shapath/Developer/vagrant/box/.vagrant/machines/default/virtualbox/private_key
ConnectTimeout=10 KbdInteractiveAuthentication=no PasswordAuthentication=no
UserKnownHostsFile=/dev/null User=vagrant
ControlPath=/Users/shapath/.ansible/cp/ansible-ssh-%h-%p-%r
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey
StrictHostKeyChecking=no ControlMaster=auto Port=2222 ControlPersist=60s
<127.0.0.1>
<127.0.0.1>
IdentityFile=/Users/shapath/Developer/vagrant/box/.vagrant/machines/default/virtualbox/private_key
ConnectTimeout=10 KbdInteractiveAuthentication=no 'sudo -k && sudo -H -S -p
"[sudo via ansible, key=opcedtxuxqdozdypgmkckkuefeloxxgg] password: " -u
root /bin/sh -c '"'"'echo SUDO-SUCCESS-opcedtxuxqdozdypgmkckkuefeloxxgg;
LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python
/home/vagrant/.ansible/tmp/ansible-tmp-1427463903.72-121429371624026/docker;
rm -rf
/home/vagrant/.ansible/tmp/ansible-tmp-1427463903.72-121429371624026/
>/dev/null 2>&1'"'"'' PasswordAuthentication=no
UserKnownHostsFile=/dev/null User=vagrant
ControlPath=/Users/shapath/.ansible/cp/ansible-ssh-%h-%p-%r
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey
StrictHostKeyChecking=no ControlMaster=auto Port=2222 ControlPersist=60s
ok: [default] => {"ansible_facts": {"docker_containers": []}, "changed":
false, "failed": false, "msg": "pull 0 restarted 0 started 0 created 0
stopped 0 removed 0 killed 0 container(s) running image rethinkdb:latest
with command None"}
--
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/e2064d79-7381-4611-a108-b43faee73165%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.