zrhoffman commented on code in PR #6965:
URL: https://github.com/apache/trafficcontrol/pull/6965#discussion_r922301556
##########
infrastructure/ansible/roles/dataset_loader/tasks/dataset_loader.yml:
##########
@@ -1043,3 +1043,18 @@
delay: 10
vars:
error_query: "alerts[?level=='error'].text[?!contains(@,'already exists')]"
+
+- name: Queue Caches in all CDNs
+ uri:
+ url: "{{ dl_to_url }}/api/{{ dl_to_api_version }}/cdns/{{ item.id
}}/queue_update"
+ method: POST
+ body:
+ action: "queue"
+ with_items: "{{ get_all_cdns.json.response[1:] }}"
Review Comment:
> because the order of the json isn't guaranteed.
Also, the sort order is always the same
https://github.com/apache/trafficcontrol/blob/19f3b2eafde573546221e767c77f283994fb2fa7/traffic_ops/traffic_ops_golang/cdn/cdns.go#L139-L140
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]