Skip to content

Commit

Permalink
Use full user@server name for the host label.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonpugh committed May 21, 2024
1 parent 6659d00 commit 5f64426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/operations.runner/tasks/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
item_runner_user: "{{ item.runner_user | default(operations_platform_user) | default('platform')}}"
item_runner_name: "{{ item.runner_user | default(operations_platform_user) }}@{{ item.runner_name | default(inventory_hostname) }}"
item_runner_repo: "{{ item.runner_repo | default(operations_runner_repo_default) }}"
item_runner_labels: "{{ inventory_hostname }},user/{{ item.runner_user | default(operations_platform_user) | default('platform') }},{{ item.runner_labels | default('') }}"
item_runner_labels: "{{ item.runner_user | default(operations_platform_user) }}@{{ item.runner_name | default(inventory_hostname) }},user/{{ item.runner_user | default(operations_platform_user) | default('platform') }},{{ item.runner_labels | default('') }}"
item_runner_api_token: "{{ item.api_token | default(operations_github_api_token) }}"

- name: Copy GitHub Runner
Expand Down

0 comments on commit 5f64426

Please sign in to comment.