-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Gary Servin <gary@servin.dev>
- Loading branch information
1 parent
549e8b2
commit 6d9be1a
Showing
16 changed files
with
145 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
profile: shared | ||
|
||
skip_list: | ||
- fqcn-builtins | ||
|
||
exclude_paths: | ||
- .* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Ansible Linting Tests for the andino_ansible_config repository | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
name: Ansible Lint | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Run ansible-lint | ||
uses: ansible/ansible-lint@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
repos: | ||
- repo: https://github.com/ansible/ansible-lint | ||
rev: v24.10.0 | ||
hooks: | ||
- id: ansible-lint | ||
name: Ansible-lint | ||
description: Run Ansible-lint checks | ||
entry: python3 -m ansiblelint -v --force-color --exclude .* | ||
language: python | ||
pass_filenames: false | ||
always_run: true | ||
additional_dependencies: | ||
- ansible-core>2.13.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
--- | ||
galaxy_info: | ||
role_name: andino | ||
author: Gary Servin | ||
description: An Ansible Role that configures and Andino Robot | ||
|
||
license: Apache 2.0 | ||
license: "Apache 2.0" | ||
|
||
min_ansible_version: 2.6 | ||
|
||
platforms: | ||
- name: Ubuntu | ||
versions: | ||
- noble | ||
min_ansible_version: "2.6" | ||
|
||
galaxy_tags: | ||
- andino | ||
|
||
dependencies: | ||
- common | ||
- ros2 | ||
- role: common | ||
- role: ros2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
--- | ||
- import_tasks: 00-andino_hardware.yaml | ||
- name: Run Andino Hardware tasks | ||
import_tasks: 00-andino_hardware.yaml | ||
tags: skip_ci | ||
- import_tasks: 01-andino_debians.yaml | ||
when: not install_from_sources | ||
- import_tasks: 02-andino_sources.yaml | ||
when: install_from_sources or extra_sources | length > 0 | ||
|
||
- name: Install Andino packages via debians | ||
import_tasks: 01-andino_debians.yaml | ||
when: not andino_install_from_sources | ||
|
||
- name: Install Andino packages from sources | ||
import_tasks: 02-andino_sources.yaml | ||
when: andino_install_from_sources or andino_extra_sources | length > 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SUBSYSTEM=="tty", ATTRS{idProduct}=="{{ andino_arduino_serial.id_product }}", ATTRS{idVendor}=="{{ andino_arduino_serial.id_vendor }}", SYMLINK+="ttyUSB_ARDUINO" | ||
SUBSYSTEM=="tty", ATTRS{idProduct}=="{{ andino_lidar_serial.id_product }}", ATTRS{idVendor}=="{{ andino_lidar_serial.id_vendor }}", SYMLINK+="ttyUSB_LIDAR" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
--- | ||
ansible_user: "{{ lookup('pipe', 'whoami') }}" | ||
|
||
target_arch: "{{ 'amd64' if ansible_architecture == 'x86_64' else 'arm64' if ansible_architecture == 'aarch64' else 'armhf' if ansible_architecture == 'armv7l' else ansible_architecture }}" | ||
common_arch_matrix: | ||
x86_64: amd64 | ||
aarch64: arm64 | ||
armv7l: armhf | ||
|
||
ros2_distribution: "{{ 'jazzy' if ansible_distribution_release == 'noble' else 'humble' if ansible_distribution_release == 'jammy' }}" | ||
common_target_arch: "{{ common_arch_matrix[ansible_architecture] }}" | ||
|
||
warnings: [] | ||
common_warnings: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.