You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2022/07/14 22:40:10 UTC

[GitHub] [trafficcontrol] jhg03a commented on a diff in pull request #6965: Ansible Dataset Loader: Queue Caches after performing Snapshots

jhg03a commented on code in PR #6965:
URL: https://github.com/apache/trafficcontrol/pull/6965#discussion_r921630082


##########
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:
   This should use a different method like json_query to exclude the ALL CDN because the order of the json isn't guaranteed.



-- 
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: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org