We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed4b47a commit b33602dCopy full SHA for b33602d
tasks/collect_info.yml
@@ -33,13 +33,16 @@
33
34
- name: "Check currently registered runners for repo {{ '(RUN ONCE)' if all_runners_in_same_repo else '' }}"
35
ansible.builtin.uri:
36
- url: "{{ github_full_api_url }}{{ '?' if '?' not in github_full_api_url else '&' }}per_page={{ github_api_runners_per_page }}"
+ url: "{{ github_full_api_url }}?{{ query_params | urlencode }}"
37
headers:
38
Authorization: "token {{ access_token }}"
39
Accept: "application/vnd.github.v3+json"
40
method: GET
41
status_code: 200
42
force_basic_auth: true
43
+ vars:
44
+ query_params:
45
+ per_page: "{{ github_api_runners_per_page }}"
46
register: registered_runners
47
delegate_to: localhost
48
become: false
0 commit comments