Skip to content

Commit

Permalink
give root privilege to download-models
Browse files Browse the repository at this point in the history
  • Loading branch information
bgilby59 committed Nov 20, 2023
1 parent 7768136 commit c09ad93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ansible/roles/download_models/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
- name: Create data directory
become: true
ansible.builtin.file:
path: "{{ data_dir }}"
state: directory

- name: Create tensorrt_yolox directory inside {{ data_dir }}
become: true
ansible.builtin.file:
path: "{{ data_dir }}/tensorrt_yolox"
mode: "755"
Expand Down

0 comments on commit c09ad93

Please sign in to comment.