diff --git a/ansible/roles/download_models/tasks/main.yaml b/ansible/roles/download_models/tasks/main.yaml index 661c2c3..d7a9e5e 100644 --- a/ansible/roles/download_models/tasks/main.yaml +++ b/ansible/roles/download_models/tasks/main.yaml @@ -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"