Skip to content

Commit

Permalink
feat: install useful apps ncdu screenfetch (#3)
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
xmfcx authored Dec 9, 2024
1 parent 90401f4 commit 0d07e62
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 0 deletions.
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
apt:
name: ncdu
state: present
become: true

- name: Install screenfetch
apt:
name: screenfetch
state: present
become: true

0 comments on commit 0d07e62

Please sign in to comment.