2021-04-11 16:00:07 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Install rpmfusion-free
|
|
|
|
dnf:
|
2021-11-16 15:23:42 +00:00
|
|
|
name: https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-35.noarch.rpm
|
2021-04-11 16:00:07 +01:00
|
|
|
state: present
|
|
|
|
disable_gpg_check: 1
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
- name: Install rpmfusion-nonfree
|
|
|
|
dnf:
|
2021-11-16 15:23:42 +00:00
|
|
|
name: https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-35.noarch.rpm
|
2021-04-11 16:00:07 +01:00
|
|
|
state: present
|
|
|
|
disable_gpg_check: 1
|
|
|
|
become: yes
|
|
|
|
|
2021-11-16 15:23:42 +00:00
|
|
|
- name: Remove unwanted dnf packages
|
|
|
|
dnf:
|
|
|
|
name:
|
|
|
|
- gedit
|
|
|
|
state: absent
|
|
|
|
become: yes
|
|
|
|
|
2021-04-11 16:00:07 +01:00
|
|
|
- name: Install common dnf packages
|
|
|
|
dnf:
|
|
|
|
name:
|
2021-11-16 15:23:42 +00:00
|
|
|
- kernel-tools
|
|
|
|
- sysbench
|
2021-04-11 16:00:07 +01:00
|
|
|
- exa
|
2021-11-16 15:23:42 +00:00
|
|
|
- iperf3
|
2021-04-11 16:00:07 +01:00
|
|
|
- zsh
|
|
|
|
- zsh-syntax-highlighting
|
|
|
|
- make
|
|
|
|
- direnv
|
|
|
|
- ncdu
|
|
|
|
- restic
|
|
|
|
- powertop
|
|
|
|
- tmux
|
|
|
|
- htop
|
|
|
|
- openssh-server
|
|
|
|
- curl
|
|
|
|
- neofetch
|
|
|
|
- vim
|
|
|
|
- podman
|
|
|
|
- podman-compose
|
|
|
|
- dnf-plugins-core
|
2021-11-16 15:23:42 +00:00
|
|
|
- lm_sensors
|
2021-04-11 16:00:07 +01:00
|
|
|
enablerepo: rpmfusion-free
|
|
|
|
state: present
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
- name: Install ffmpeg
|
|
|
|
dnf:
|
|
|
|
name: ffmpeg
|
|
|
|
enablerepo: rpmfusion-free
|
|
|
|
state: present
|
|
|
|
become: yes
|
|
|
|
|
2021-11-16 15:23:42 +00:00
|
|
|
- name: Install 1password cli
|
|
|
|
unarchive:
|
|
|
|
src: "https://cache.agilebits.com/dist/1P/op/pkg/{{ onepassword_cli_version }}/op_linux_amd64_{{ onepassword_cli_version }}.zip"
|
|
|
|
dest: ~/.local/bin/
|
|
|
|
mode: 0755
|
|
|
|
remote_src: yes
|
|
|
|
#exclude:
|
|
|
|
#- op.sig
|
2021-04-11 16:00:07 +01:00
|
|
|
|
2021-11-16 15:23:42 +00:00
|
|
|
- name: Fetch mkcert binary
|
|
|
|
get_url:
|
|
|
|
url: "https://github.com/FiloSottile/mkcert/releases/download/{{ mkcert_version }}/mkcert-{{ mkcert_version }}-linux-amd64"
|
|
|
|
dest: ~/.local/bin/mkcert
|
|
|
|
mode: 0755
|
2021-04-11 16:00:07 +01:00
|
|
|
|
2021-11-16 15:23:42 +00:00
|
|
|
- name: Fetch gh-cli repo
|
|
|
|
get_url:
|
|
|
|
url: https://cli.github.com/packages/rpm/gh-cli.repo
|
|
|
|
dest: /etc/yum.repos.d/gh-cli.repo
|
|
|
|
mode: 0644
|
2021-04-11 16:00:07 +01:00
|
|
|
become: yes
|
|
|
|
|
2021-11-16 15:23:42 +00:00
|
|
|
- name: Install gh-cli
|
2021-04-11 16:00:07 +01:00
|
|
|
dnf:
|
2021-11-16 15:23:42 +00:00
|
|
|
name: gh
|
|
|
|
state: present
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
- name: create ~/.local/share/btop/themes
|
|
|
|
file:
|
|
|
|
path: ~/.local/share/btop/themes
|
|
|
|
state: directory
|
|
|
|
mode: '0755'
|
|
|
|
|
|
|
|
- name: Fetch btop tarball and extract to ~/.local
|
|
|
|
unarchive:
|
|
|
|
src: https://github.com/aristocratos/btop/releases/download/v{{ btop_version }}/btop-{{ btop_version }}-x86_64-linux-musl.tbz
|
|
|
|
dest: ~/.local/
|
|
|
|
remote_src: yes
|
|
|
|
exclude:
|
|
|
|
- CHANGES.md
|
|
|
|
- install.sh
|
|
|
|
- LICENSE
|
|
|
|
- Makefile
|
|
|
|
- README.md
|
|
|
|
- setuid.sh
|
|
|
|
- uninstall.sh
|
|
|
|
creates: ~/.local/bin/btop
|
|
|
|
|
|
|
|
- name: Move btop themes to correct path
|
2021-04-11 16:00:07 +01:00
|
|
|
copy:
|
2021-11-16 15:23:42 +00:00
|
|
|
src: ~/.local/themes
|
|
|
|
dest: ~/.local/share/btop/
|
|
|
|
remote_src: yes
|
2021-04-11 16:00:07 +01:00
|
|
|
|
2021-11-16 15:23:42 +00:00
|
|
|
- name: pip install yt-dlp
|
|
|
|
pip:
|
|
|
|
name: yt-dlp
|
2021-04-11 16:00:07 +01:00
|
|
|
state: present
|