Patent attributes
A method, computer program product, and computer system for implementing tasks on managed nodes. A specified task to be performed by an Ansible module on one or more managed nodes of two or more managed nodes is received. The one or more managed nodes are determined based on an attribute value of a hostDecision attribute of the Ansible module. The attribute value may be primaryNode, allNodes, or Dynamic, where: primary Node requires the one or more managed nodes to be a primary node, allNodes requires the one or more managed nodes to be the two or more managed nodes, and Dynamic requires the one or more managed nodes to be determined dynamically based on runtime information. The Ansible module is sent to the one or more managed nodes to perform the task on the one or more managed nodes.