Skip to content

Commit

Permalink
Add tmpreaper and QDirSTat
Browse files Browse the repository at this point in the history
  • Loading branch information
conradhodgezest authored and conradhodge committed Dec 5, 2023
1 parent 16f1dda commit d8fc574
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This will:

- Setup [zsh](https://www.zsh.org/) and [oh-my-zsh](https://ohmyz.sh/) for terminal
- Perform an `apt` update and upgrade
- Install the following `apt` packages:
- Install the following:
- curl
- zip
- [jq](https://stedolan.github.io/jq/)
Expand All @@ -46,7 +46,9 @@ This will:
- [Go](https://golang.org/)
- [pip and venv](https://docs.microsoft.com/en-us/windows/python/web-frameworks#install-python-pip-and-venv)
- [ngrok](https://ngrok.com/)
- [tmpreaper](https://manpages.ubuntu.com/manpages/focal/man8/tmpreaper.8.html)
- [Java Runtime Environment from OpenJDK](https://ubuntu.com/tutorials/install-jre#1-overview)
- [QDirStat](https://github.com/shundhammer/qdirstat)
- [GitHub CLI](https://cli.github.com/)
- [AWS CDK CLI](https://github.com/aws/aws-cdk)
- [AWS CLI](https://aws.amazon.com/cli/)
Expand Down
1 change: 1 addition & 0 deletions ansible/roles/wsl/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
- import_tasks: aws.yml
- import_tasks: azure.yml
- import_tasks: liquibase.yml
- import_tasks: tmpreaper.yml
- import_tasks: cows.yml
6 changes: 6 additions & 0 deletions ansible/roles/wsl/tasks/tmpreaper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
- name: Run tmpreaper in zshrc to clean the tmp directory
lineinfile:
path: "$HOME/.zshrc"
line: 'tmpreaper 7d /tmp'
state: present
2 changes: 2 additions & 0 deletions ansible/roles/wsl/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ apt_packages:
- python3-venv
- zsh
- default-jre
- tmpreaper
- qdirstat

node_packages:
- aws-cdk
Expand Down

0 comments on commit d8fc574

Please sign in to comment.