I have one Dockerfile
I have tried :
- name: build docker image
command: docker build -t ansibleum /ze/Dockerfile
But the image was not created)
ansible-playbook old_copiash.yml -f 1
PLAY [Transfer and execute a script.]
*********************************************************************************************************************************
TASK [Gathering Facts]
************************************************************************************************************************************************
ok: [host2]
TASK [Transfer the script]
********************************************************************************************************************************************
ok: [host2]
TASK [Execute the script]
*********************************************************************************************************************************************
changed: [host2]
TASK [build docker image]
*********************************************************************************************************************************************
changed: [host2]
PLAY RECAP
************************************************************************************************************************************************************
host2 : ok=4 changed=2 unreachable=0 failed=0
[root@localhost ze]# docker ps -q -a
I can I build an image using docker ?
thanks in advance
josé pinto
--
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/72dc63fc-f1c9-4173-bb14-2a06db850b06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.