Skip to content

Commit

Permalink
[issue actions#29]: imrpoving 'delegate_to' method
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Capanna committed Oct 22, 2020
1 parent fdcca76 commit 5b41cd2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tasks/install_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
body_format: json
register: api_response
run_once: yes
#delegate_to: localhost
become: false
delegate_to: localhost
when: runner_version == "latest"
tags:
- install
Expand All @@ -39,7 +40,8 @@
dest: "{{ runner_dir }}/actions-runner-linux-{{ runner_version }}.tar.gz"
force: no
run_once: yes
#delegate_to: localhost
become: false
delegate_to: localhost
tags:
- install

Expand All @@ -48,7 +50,7 @@
src: "{{ runner_dir }}/actions-runner-linux-{{ runner_version }}.tar.gz"
dest: "{{ runner_dir }}/"
owner: "{{ runner_user }}"
remote_src: yes
#remote_src: yes
tags:
- install

Expand Down

0 comments on commit 5b41cd2

Please sign in to comment.