Skip to content

Commit

Permalink
style(ansible_lint): fix lint errors (autowarefoundation#46)
Browse files Browse the repository at this point in the history
* chore(ansible_lint): overwrite warn_list to regard experimental features as errors

Signed-off-by: Kenji Miyake <[email protected]>

* style(ansible_lint): add mode to lineinfile

Signed-off-by: Kenji Miyake <[email protected]>
  • Loading branch information
kenji-miyake authored Feb 3, 2022
1 parent 5de382a commit 65e9c9a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ exclude_paths:
skip_list:
- meta-no-info # We don't publish to Ansible Galaxy.
- package-latest # Since this is a development environment, we allow the latest versions.

warn_list: []
2 changes: 2 additions & 0 deletions ansible/roles/cuda/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@
line: export PATH="/usr/local/cuda/bin:$PATH"
state: present
create: true
mode: 0644

- name: Add LD_LIBRARY_PATH to bashrc
ansible.builtin.lineinfile:
dest: ~/.bashrc
line: export LD_LIBRARY_PATH="/usr/local/cuda/lib64:$LD_LIBRARY_PATH"
state: present
create: true
mode: 0644
1 change: 1 addition & 0 deletions ansible/roles/rmw_implementation/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
line: export RMW_IMPLEMENTATION={{ rmw_implementation }}
state: present
create: true
mode: 0644
1 change: 1 addition & 0 deletions ansible/roles/ros2/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@
line: source /opt/ros/{{ rosdistro }}/setup.bash
state: present
create: true
mode: 0644

0 comments on commit 65e9c9a

Please sign in to comment.