zrhoffman commented on code in PR #6965:
URL: https://github.com/apache/trafficcontrol/pull/6965#discussion_r921632183
##########
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:
The previous task, *Snapshot all CDNs*, uses this method to exclude the
*ALL* CDN
https://github.com/apache/trafficcontrol/blob/a0fbd63083140e64d35d886e0cc87cc8b542aaa6/infrastructure/ansible/roles/dataset_loader/tasks/dataset_loader.yml#L1034-L1038
Maybe someone else can add `json_query` to both tasks in the future.
--
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]