docker_swarm module does not actually apply node_id parameter #53501
Labels
affects_2.7
This issue/PR affects Ansible v2.7
bug
This issue/PR relates to a bug.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
SUMMARY
the
docker_swarm
ansible module contains a parameter to specifynode_id
in the case ofstate=remove
. In its current state the module does not apply this parameter regardless if its specified or not.ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
CentOS 7
Docker-CE 18.09.2, 18.09.3
Swarm mode enabled
STEPS TO REPRODUCE
EXPECTED RESULTS
Node removed from docker swarm cluster.
ACTUAL RESULTS
The removal attempts to run on the host which is receiving the API call. Error reports about the node being a manager since it has not been demoted.
The text was updated successfully, but these errors were encountered: