Hi !
Hope everyone is doing well,

I downloaded grafana image from docker hub.

I generated my .tar using : 
*sudo docker save -o /path/grafana_image.tar grafana/grafana:latest*

I am using a role to define grafana, here is the docker_image part (i tryed 
relative path using role_path, but for debugging purpose i specified 
absolute path) :





*- name: Load Grafana image  docker_image:    name: 
grafana/grafana:latest    load_path: /path/grafana_image.tar    source: 
load  become: true*

I defined somes specific permissions :
*ll /path/grafana_image.tar*
*-r--r----- 1 user user /path/grafana_image.tar*

And now if i launch ansible-playbook :

*TASK [grafana : Load Grafana image] fatal: [monitoring]: FAILED! => 
{"changed": false, "msg": "Error loading image grafana/grafana. Specified 
path /path/grafana_image.tar does not exist."}*

If i check the path its completely fine :

*ll /path/grafana_image.tar-r--r----- 1 user user /path/grafana_image.tar*

So as you can see it doest not make any sense, i tryed with chmod 770, 
relative/absolute path, regenerating .tar but nothing seems to work, 

Do you have any idea about what could be wrong here ?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f49e645e-6b11-4b31-9e21-ec4dd027f54en%40googlegroups.com.

Reply via email to