-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Description
The task Get list of labels. is failing after updated with ansible_fqdn on 3bb8a49
The node hostname(staging-manager-03) on docker node ls is different from the fqdn string given on following error:
TASK [atosatto.docker-swarm : Get list of labels.] ********************************************************************************************************************************************
fatal: [165.22.48.107 -> 165.22.48.105]: FAILED! => {"changed": false, "cmd": ["docker", "inspect", "--format", "{{ range $key, $value := .Spec.Labels }}{{ printf \"%s\\n\" $key }}{{ end }}", "staging-manager-03.sgp1"], "delta": "0:00:00.412684", "end": "2020-05-14 13:10:42.573599", "msg": "non-zero return code", "rc": 1, "start": "2020-05-14 13:10:42.160915", "stderr": "Error: No such object: staging-manager-03.sgp1", "stderr_lines": ["Error: No such object: staging-manager-03.sgp1"], "stdout": "", "stdout_lines": []}
For now I am using v2.2.0 which gives no error.
archived001, alt4, yukiisbored, FleischKarussel, Bogdan1001 and 3 morearchived001
Metadata
Metadata
Assignees
Labels
No labels