Is there a way to dynamically select host tags in the Node Filter section based on the value selected in the Options field?

Is there a way to dynamically select host tags in the Node Filter section based on the value selected in the Options field?

Currently, I need to run the task on a different set of hosts based on the selected "Parameters" field. Say I have two options: Group 1 and Group 2. And when I select the "Group 1" option, I need to select a specific set of host tags, and when I select "Group 2" another set of host tags must be selected and run on these hosts. By doing this, we can dynamically run this work on different sets of hosts, depending on our needs.

Thanks, M. Kannan.

+4
source share
2 answers

, , , node , "tags: ${option.[option_name]}".

, , DEV, TEST, or PROD. server_env, . node "tags: ${option.server_env}".

+2

, :

  • , .
  • script, .
  • script rundeck, , , .
0

All Articles