Skip to content

Commit 52cedfa

Browse files
authored
Merge pull request #471 from Normo/tempdir_fleeting_plugin-internal
Mark tempdir_fleeting_plugin as internal variable
2 parents 7f0bec5 + 5fb0720 commit 52cedfa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

roles/gitlab_runner/tasks/install.autoscaler-plugin.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
- name: "Create temporary directory"
2727
ansible.builtin.tempfile:
2828
state: "directory"
29-
register: "tempdir_fleeting_plugin"
29+
register: "__tempdir_fleeting_plugin"
3030
check_mode: false
3131
changed_when: false
3232

3333
- name: "Download fleeting-plugin-openstack"
3434
ansible.builtin.get_url:
3535
url: "{{ gitlab_runner_autoscaler_plugin_url }}"
36-
dest: "{{ (tempdir_fleeting_plugin.path, 'fleeting-plugin-openstack.tar.gz') | path_join }}"
36+
dest: "{{ (__tempdir_fleeting_plugin.path, 'fleeting-plugin-openstack.tar.gz') | path_join }}"
3737
checksum: "sha512:{{ gitlab_runner_autoscaler_plugin_checksumfile }}"
3838
owner: "root"
3939
group: "root"
@@ -42,7 +42,7 @@
4242

4343
- name: "Extract fleeting-plugin-openstack binary"
4444
ansible.builtin.unarchive:
45-
src: "{{ (tempdir_fleeting_plugin.path, 'fleeting-plugin-openstack.tar.gz') | path_join }}"
45+
src: "{{ (__tempdir_fleeting_plugin.path, 'fleeting-plugin-openstack.tar.gz') | path_join }}"
4646
dest: "/usr/local/bin/"
4747
include:
4848
- "bin/fleeting-plugin-openstack"
@@ -55,7 +55,7 @@
5555
always:
5656
- name: "Remove temporary directory"
5757
ansible.builtin.file:
58-
path: "{{ tempdir_fleeting_plugin.path }}"
58+
path: "{{ __tempdir_fleeting_plugin.path }}"
5959
state: "absent"
6060
check_mode: false
6161
changed_when: false

0 commit comments

Comments
 (0)