File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
ansible/roles/acados/tasks Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 8282
8383- name : Add acados CMAKE_PREFIX_PATH to .bashrc
8484 ansible.builtin.lineinfile :
85- path : " {{ ansible_env.HOME }}/.bashrc "
85+ path : " {{ item }}"
8686 line : export CMAKE_PREFIX_PATH="/opt/acados:${CMAKE_PREFIX_PATH}"
8787 regexp : CMAKE_PREFIX_PATH.*acados
8888 state : present
89+ loop :
90+ - " {{ ansible_env.HOME }}/.bashrc"
91+ - /etc/skel/.bashrc
8992
9093- name : Add ACADOS_SOURCE_DIR to .bashrc
9194 ansible.builtin.lineinfile :
92- path : " {{ ansible_env.HOME }}/.bashrc "
95+ path : " {{ item }}"
9396 line : export ACADOS_SOURCE_DIR="/opt/acados"
9497 regexp : ACADOS_SOURCE_DIR
9598 state : present
99+ loop :
100+ - " {{ ansible_env.HOME }}/.bashrc"
101+ - /etc/skel/.bashrc
96102
97103- name : Add acados LD_LIBRARY_PATH to .bashrc
98104 ansible.builtin.lineinfile :
99- path : " {{ ansible_env.HOME }}/.bashrc "
105+ path : " {{ item }}"
100106 line : export LD_LIBRARY_PATH="/opt/acados/lib:${LD_LIBRARY_PATH}"
101107 regexp : LD_LIBRARY_PATH.*acados
102108 state : present
109+ loop :
110+ - " {{ ansible_env.HOME }}/.bashrc"
111+ - /etc/skel/.bashrc
You can’t perform that action at this time.
0 commit comments