Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: install useful apps ncdu screenfetch #3

Merged
merged 3 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ ansible-galaxy install -f -r requirements.yaml

### Playbooks

#### Install useful apps

```bash
ansible-playbook autoware.github_runner.useful_apps --ask-become-pass
```

#### Docker setup

```bash
Expand Down
4 changes: 4 additions & 0 deletions playbooks/useful_apps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- name: Install useful apps
hosts: localhost
roles:
- autoware.github_runner.useful_apps
1 change: 1 addition & 0 deletions roles/useful_apps/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# useful_apps
Empty file.
Empty file.
16 changes: 16 additions & 0 deletions roles/useful_apps/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- name: Ensure apt cache is updated
apt:
update_cache: true
become: true

- name: Install ncdu

Check warning on line 6 in roles/useful_apps/tasks/main.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (ncdu)
apt:
name: ncdu

Check warning on line 8 in roles/useful_apps/tasks/main.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (ncdu)
state: present
become: true

- name: Install screenfetch

Check warning on line 12 in roles/useful_apps/tasks/main.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (screenfetch)
apt:
name: screenfetch

Check warning on line 14 in roles/useful_apps/tasks/main.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (screenfetch)
state: present
become: true
Loading