From cb08f0d59070ef6275aeb82e092d0f0e09022f16 Mon Sep 17 00:00:00 2001 From: Kenzo Lobos-Tsunekawa Date: Mon, 17 Feb 2025 16:50:45 +0900 Subject: [PATCH] chore: added a standalone playbook Signed-off-by: Kenzo Lobos-Tsunekawa --- ansible/playbooks/install_spconv.yaml | 5 +++++ ansible/roles/spconv/README.md | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 ansible/playbooks/install_spconv.yaml diff --git a/ansible/playbooks/install_spconv.yaml b/ansible/playbooks/install_spconv.yaml new file mode 100644 index 0000000000..6107535b4f --- /dev/null +++ b/ansible/playbooks/install_spconv.yaml @@ -0,0 +1,5 @@ +# cSpell:ignore cumm, spconv +- name: Download and install the cumm and spconv packages + hosts: localhost + roles: + - autoware.dev_env.spconv diff --git a/ansible/roles/spconv/README.md b/ansible/roles/spconv/README.md index e3829498a7..676762d99e 100644 --- a/ansible/roles/spconv/README.md +++ b/ansible/roles/spconv/README.md @@ -8,3 +8,13 @@ The [original implementation](https://github.com/traveller59/spconv) did not pro ## Manual Installation For manual installation, please follow the instructions in [this](https://github.com/knzo25/spconv_cpp) repository. + +## Run the playbook + +The following command will install a particular version of the packages using ansible. + +```bash +export CUMM_VERSION=0.5.3 +export SPCONV_VERSION=2.3.8 +ansible-playbook autoware.dev_env.install_spconv.yaml -e cumm_version=${CUMM_VERSION} -e spconv_version=${SPCONV_VERSION} --ask-become-pass +```