bug1 #3

Open
opened 2023-05-16 15:03:18 +02:00 by p3ls · 2 comments
// if items, found := currentTaskData["loop"]; found {

// 	// if items, found := currentTaskData["loop"].(string); found {
// 	//   items = templated4(host, items)
// 	// }

// 	for _, item := range items.([]interface{}) {

// 		var o Sh
// 		o.Command = currentTaskData["sh"].(string)
// 		switch item.(type) {
// 		case map[string]interface{}:
// 			item = templatedMap(host, item.(map[string]interface{}))
// 		}
// 		hosts[host].Vars["item"] = item
// 		o.Run(host)
// 		delete(hosts[host].Vars, "item")
// 	}
// 	return
// }
// if items, found := currentTaskData["loop"]; found { // // if items, found := currentTaskData["loop"].(string); found { // // items = templated4(host, items) // // } // for _, item := range items.([]interface{}) { // var o Sh // o.Command = currentTaskData["sh"].(string) // switch item.(type) { // case map[string]interface{}: // item = templatedMap(host, item.(map[string]interface{})) // } // hosts[host].Vars["item"] = item // o.Run(host) // delete(hosts[host].Vars, "item") // } // return // }
p3ls added the
todo
label 2023-05-16 15:03:18 +02:00
p3ls self-assigned this 2023-05-16 15:03:18 +02:00
Poster
Owner

fossds

fossds
Poster
Owner

fdgdfddf

fdgdfddf
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: p3ls/test#3
There is no content yet.