add cheat and topgrade
This commit is contained in:
parent
a64c93a520
commit
a832a46772
5 changed files with 71 additions and 1 deletions
35
packages.yml
35
packages.yml
|
|
@ -17,6 +17,7 @@
|
|||
- qalculate
|
||||
- automake
|
||||
- libtool
|
||||
- cheat
|
||||
state: present
|
||||
|
||||
# rust install, shamelessly stolen from https://waylonwalker.com/install-rust/
|
||||
|
|
@ -51,7 +52,9 @@
|
|||
- topgrade
|
||||
- bat
|
||||
- cargo-update
|
||||
- cargo-cache
|
||||
state: latest
|
||||
|
||||
- name: Install pipx packages
|
||||
community.general.pipx:
|
||||
name: "{{ item }}"
|
||||
|
|
@ -63,3 +66,35 @@
|
|||
- halig
|
||||
- pre-commit
|
||||
- ruff
|
||||
- thefuck
|
||||
|
||||
- name: Download cheatsheets repo
|
||||
tags:
|
||||
- cheat
|
||||
ansible.builtin.git:
|
||||
repo: https://github.com/cheat/cheatsheets.git
|
||||
dest: /tmp/cheatsheets
|
||||
version: master
|
||||
|
||||
- name: Create cheat cheatsheets directory
|
||||
tags:
|
||||
- cheat
|
||||
ansible.builtin.file:
|
||||
path: ~/.config/cheat/cheatsheets/community
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
- name: Copy cheatsheets to config
|
||||
tags:
|
||||
- cheat
|
||||
ansible.builtin.copy:
|
||||
src: /tmp/cheatsheets/
|
||||
dest: ~/.config/cheat/cheatsheets/community
|
||||
remote_src: yes
|
||||
|
||||
- name: Remove temporary directory
|
||||
tags:
|
||||
- cheat
|
||||
ansible.builtin.file:
|
||||
path: /tmp/cheatsheets
|
||||
state: absent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue