Skip to content

Commit

Permalink
Add binaries_local_dir variable for local binaries directory (#111)
Browse files Browse the repository at this point in the history
* feat: add binaries_local_dir variable for local binaries directory

* feat: remove *.tar.gz from .gitignore
  • Loading branch information
kpgtek authored May 5, 2023
1 parent f95cd75 commit 832e370
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.vscode/
playbooks/files

*.tar.gz
*.pyc
2 changes: 1 addition & 1 deletion roles/hue/server/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

- name: Upload {{ hue_dist_file }}
copy:
src: files/{{ hue_dist_file }}
src: "{{ binaries_local_dir }}/{{ hue_dist_file }}"
dest: "{{ binaries_upload_dir }}"
owner: root
group: root
Expand Down
2 changes: 1 addition & 1 deletion roles/jupyterhub/server/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

- name: Upload {{ jupyterhub_dist_file }}
copy:
src: files/{{ jupyterhub_dist_file }}
src: "{{ binaries_local_dir }}/{{ jupyterhub_dist_file }}"
dest: "{{ jupyterhub_upload_directory }}"
owner: root
group: root
Expand Down
2 changes: 1 addition & 1 deletion roles/kafka/common/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

- name: "Upload {{ kafka_dist_file }}"
copy:
src: "files/{{ kafka_dist_file }}"
src: "{{ binaries_local_dir }}/{{ kafka_dist_file }}"
dest: "{{ binaries_upload_dir }}"
diff: no

Expand Down
2 changes: 1 addition & 1 deletion roles/kafka/ranger/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
---
- name: Upload {{ ranger_kafka_dist_file }}
copy:
src: "files/{{ ranger_kafka_dist_file }}"
src: "{{ binaries_local_dir }}/{{ ranger_kafka_dist_file }}"
dest: "{{ binaries_upload_dir }}"
owner: root
group: root
Expand Down
2 changes: 1 addition & 1 deletion roles/livy/server/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

- name: Upload {{ livy_dist_file }}
copy:
src: "files/{{ livy_dist_file }}"
src: "{{ binaries_local_dir }}/{{ livy_dist_file }}"
dest: "{{ binaries_upload_dir }}"
group: root
owner: root
Expand Down

0 comments on commit 832e370

Please sign in to comment.