Skip to content

Commit

Permalink
style: reword universe playbook prompts (tier4#203)
Browse files Browse the repository at this point in the history
* style: reword universe playbook prompts

* revert N

Signed-off-by: Lalith Vipulananthan <lalith.vipulananthan@tier4.jp>
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>
  • Loading branch information
Lalith Vipulananthan and Kenji Miyake authored May 13, 2022
1 parent 77cf205 commit 7009d85
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ansible/playbooks/universe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
vars_prompt:
- name: install_nvidia
prompt: |-
[Warning] Some components depend on NVIDIA libraries (CUDA, cuDNN, TensorRT), which require license agreements.
Did you confirm the licenses and are you sure to to install them? [y/N]
[Warning] Some Autoware components depend on the CUDA, cuDNN and TensorRT NVIDIA libraries which have end-user license agreements that should be reviewed before installation.
Install NVIDIA libraries? [y/N]
private: false
pre_tasks:
- name: Print args
Expand All @@ -15,12 +15,11 @@
- cuda_version: "{{ cuda_version }}"
- cudnn_version: "{{ cudnn_version }}"
- tensorrt_version: "{{ tensorrt_version }}"

- name: Show warnings that NVIDIA libraries will not be installed
- name: Show a warning if the NVIDIA libraries will not be installed
ansible.builtin.pause:
seconds: 10
prompt: |
[Warning] Skipping installation of NVIDIA libraries. Please manually install them if you use the depending components.
[Warning] Skipping installation of NVIDIA libraries. Please manually install them if you plan to use any dependent components.
when: install_nvidia != 'y'
roles:
# Core
Expand Down

0 comments on commit 7009d85

Please sign in to comment.