Skip to content

Commit 0673a4c

Browse files
authored
fix(ansible): fix permission error of acados role (#6855)
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
1 parent 1adb67f commit 0673a4c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ansible/roles/acados/tasks/main.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
# ---------- Environment (.bashrc) ----------
8282

8383
- name: Add acados CMAKE_PREFIX_PATH to .bashrc
84+
become: true
8485
ansible.builtin.lineinfile:
8586
path: "{{ item }}"
8687
line: export CMAKE_PREFIX_PATH="/opt/acados:${CMAKE_PREFIX_PATH}"
@@ -91,6 +92,7 @@
9192
- /etc/skel/.bashrc
9293

9394
- name: Add ACADOS_SOURCE_DIR to .bashrc
95+
become: true
9496
ansible.builtin.lineinfile:
9597
path: "{{ item }}"
9698
line: export ACADOS_SOURCE_DIR="/opt/acados"
@@ -101,6 +103,7 @@
101103
- /etc/skel/.bashrc
102104

103105
- name: Add acados LD_LIBRARY_PATH to .bashrc
106+
become: true
104107
ansible.builtin.lineinfile:
105108
path: "{{ item }}"
106109
line: export LD_LIBRARY_PATH="/opt/acados/lib:${LD_LIBRARY_PATH}"

0 commit comments

Comments
 (0)