Dark_Night
(Dark Night)
February 15, 2018, 9:52am
1
let me out from this below
how can i integrate ansible with docker-container
the function of docker commands run on ansible module
for example
docker pull command run ansible
docker_image:
name: centos-7
its not working can anyone help me
its contain this error
ERROR! ‘docker_image’ is not a valid attribute for a Play
Hey
you are nit indented your yaml file correctly. The docer_image command must be inside the task you have started with “- name”. That means at least as much space until th n of name.
For your further reference: http://docs.ansible.com/ansible/latest/YAMLSyntax.html
Regards
Dark_Night
(Dark Night)
February 16, 2018, 5:00am
3
Thanks for your support
im a beginner for ansible can u rebuild to this one