1
0
Fork 0

add cheat and topgrade

This commit is contained in:
cătălin 2023-08-06 16:36:02 +02:00
commit a832a46772
Signed by: catalin
GPG key ID: 0178DF42F43E5FD2
5 changed files with 71 additions and 1 deletions

View file

@ -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