Add some extra packages and vi mode for bash

This commit is contained in:
Sandwich 2024-11-05 03:36:15 +01:00
parent 89f054e8fd
commit 25deaab87d
3 changed files with 74 additions and 5 deletions

View File

@ -32,7 +32,7 @@
ansible_user: "{{ user_name }}" ansible_user: "{{ user_name }}"
ansible_password: "{{ user_password }}" ansible_password: "{{ user_password }}"
ansible_become_password: "{{ user_password }}" ansible_become_password: "{{ user_password }}"
ansible_ssh_extra_args: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' ansible_ssh_extra_args: "-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
- name: Validate variables - name: Validate variables
ansible.builtin.assert: ansible.builtin.assert:
@ -86,6 +86,7 @@
ansible_user: "{{ user_name }}" ansible_user: "{{ user_name }}"
ansible_password: "{{ user_password }}" ansible_password: "{{ user_password }}"
ansible_become_password: "{{ user_password }}" ansible_become_password: "{{ user_password }}"
ansible_ssh_extra_args: "-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
- name: Check if VM is back and running - name: Check if VM is back and running
ansible.builtin.wait_for_connection: ansible.builtin.wait_for_connection:

View File

@ -1,4 +1,3 @@
---
almalinux: almalinux:
- bind-utils - bind-utils
- dbus-daemon - dbus-daemon
@ -13,12 +12,15 @@ almalinux:
- nc - nc
- nfs-utils - nfs-utils
- nfsv4-client-utils - nfsv4-client-utils
- mtr
- open-vm-tools - open-vm-tools
- ppp - ppp
- shim - shim
- telnet - telnet
- tmux
- vim - vim
- wget - wget
- zram-generator
- zstd - zstd
archlinux: archlinux:
@ -29,6 +31,7 @@ archlinux:
- efibootmgr - efibootmgr
- firewalld - firewalld
- fish - fish
- fzf
- grub - grub
- htop - htop
- libpwquality - libpwquality
@ -41,8 +44,8 @@ archlinux:
- neofetch - neofetch
- networkmanager - networkmanager
- nfs-utils - nfs-utils
- openssh
- open-vm-tools - open-vm-tools
- openssh
- ppp - ppp
- prometheus-node-exporter - prometheus-node-exporter
- python-psycopg2 - python-psycopg2
@ -51,6 +54,7 @@ archlinux:
- rsync - rsync
- screen - screen
- sudo - sudo
- tldr
- vim - vim
- wireguard-tools - wireguard-tools
- zram-generator - zram-generator
@ -76,22 +80,29 @@ debian11:
- xfsprogs - xfsprogs
extra: extra:
- bat
- curl - curl
- entr
- firewalld - firewalld
- fish - fish
- fzf
- htop - htop
- jq
- libpam-pwquality - libpam-pwquality
- lrzsz - lrzsz
- mtr
- ncdu - ncdu
- neofetch - neofetch
- network-manager - network-manager
- open-vm-tools - open-vm-tools
- python-is-python3 - python-is-python3
- ripgrep
- rsync - rsync
- screen - screen
- software-properties-common - software-properties-common
- syslog-ng - syslog-ng
- tcpd - tcpd
- tldr
- vim - vim
- wget - wget
- zstd - zstd
@ -112,14 +123,20 @@ debian12:
extra: extra:
- apparmor-utils - apparmor-utils
- bat
- chrony - chrony
- curl - curl
- duf
- entr
- firewalld - firewalld
- fish - fish
- fzf
- htop - htop
- jq
- libpam-pwquality - libpam-pwquality
- logrotate - logrotate
- lrzsz - lrzsz
- mtr
- ncdu - ncdu
- neofetch - neofetch
- net-tools - net-tools
@ -128,27 +145,38 @@ debian12:
- openssh-server - openssh-server
- python-is-python3 - python-is-python3
- python3 - python3
- ripgrep
- rsync - rsync
- screen - screen
- software-properties-common - software-properties-common
- sudo - sudo
- systemd-zram-generator
- syslog-ng - syslog-ng
- systemd-zram-generator
- tcpd - tcpd
- tldr
- vim - vim
- wget - wget
- zstd - zstd
fedora: fedora:
- bat
- bind-utils - bind-utils
- btrfs-progs - btrfs-progs
- cronie - cronie
- dhcp-client - dhcp-client
- duf
- dust
- efibootmgr - efibootmgr
- entr
- eza
- fish
- fzf
- glibc-langpack-de - glibc-langpack-de
- glibc-langpack-en - glibc-langpack-en
- grub2 - grub2
- grub2-efi - grub2-efi
- htop
- iperf3
- logrotate - logrotate
- lrzsz - lrzsz
- lvm2 - lvm2
@ -158,10 +186,13 @@ fedora:
- open-vm-tools - open-vm-tools
- polkit - polkit
- ppp - ppp
- ripgrep
- shim - shim
- telnet - telnet
- tmux
- vim-default-editor - vim-default-editor
- wget - wget
- zoxide
- zram-generator - zram-generator
- zstd - zstd
@ -172,10 +203,12 @@ rhel8:
- grub2-efi-x64 - grub2-efi-x64
- lrzsz - lrzsz
- lvm2 - lvm2
- mtr
- nfs-utils - nfs-utils
- open-vm-tools - open-vm-tools
- shim - shim
- telnet - telnet
- tmux
- vim - vim
- zstd - zstd
@ -186,10 +219,12 @@ rhel9:
- grub2-efi - grub2-efi
- lrzsz - lrzsz
- lvm2 - lvm2
- mtr
- nfs-utils - nfs-utils
- open-vm-tools - open-vm-tools
- shim - shim
- telnet - telnet
- tmux
- vim - vim
- zram-generator - zram-generator
- zstd - zstd
@ -205,6 +240,7 @@ rocky:
- grub2-efi - grub2-efi
- lrzsz - lrzsz
- lvm2 - lvm2
- mtr
- nc - nc
- nfs-utils - nfs-utils
- nfsv4-client-utils - nfsv4-client-utils
@ -212,6 +248,7 @@ rocky:
- ppp - ppp
- shim - shim
- telnet - telnet
- tmux
- util-linux-core - util-linux-core
- vim - vim
- wget - wget
@ -235,15 +272,23 @@ ubuntu:
extra: extra:
- apparmor-utils - apparmor-utils
- bash-completion - bash-completion
- bat
- chrony - chrony
- curl - curl
- dnsutils - dnsutils
- duf
- entr
- eza
- fdupes
- fio
- firewalld - firewalld
- fish - fish
- htop - htop
- jq
- libpam-pwquality - libpam-pwquality
- logrotate - logrotate
- lrzsz - lrzsz
- mtr
- ncdu - ncdu
- net-tools - net-tools
- network-manager - network-manager
@ -251,6 +296,7 @@ ubuntu:
- openssh-server - openssh-server
- python-is-python3 - python-is-python3
- python3 - python3
- ripgrep
- rsync - rsync
- screen - screen
- software-properties-common - software-properties-common
@ -258,8 +304,13 @@ ubuntu:
- syslog-ng - syslog-ng
- systemd-zram-generator - systemd-zram-generator
- tcpd - tcpd
- tldr
- tmux
- traceroute
- vim - vim
- wget - wget
- yq
- zoxide
- zstd - zstd
ubuntu-lts: ubuntu-lts:
@ -279,15 +330,23 @@ ubuntu-lts:
extra: extra:
- apparmor-utils - apparmor-utils
- bash-completion - bash-completion
- bat
- chrony - chrony
- curl - curl
- dnsutils - dnsutils
- duf
- entr
- eza
- fdupes
- fio
- firewalld - firewalld
- fish - fish
- htop - htop
- jq
- libpam-pwquality - libpam-pwquality
- logrotate - logrotate
- lrzsz - lrzsz
- mtr
- ncdu - ncdu
- net-tools - net-tools
- network-manager - network-manager
@ -295,6 +354,7 @@ ubuntu-lts:
- openssh-server - openssh-server
- python-is-python3 - python-is-python3
- python3 - python3
- ripgrep
- rsync - rsync
- screen - screen
- software-properties-common - software-properties-common
@ -302,6 +362,11 @@ ubuntu-lts:
- syslog-ng - syslog-ng
- systemd-zram-generator - systemd-zram-generator
- tcpd - tcpd
- tldr
- tmux
- traceroute
- vim - vim
- wget - wget
- yq
- zoxide
- zstd - zstd

View File

@ -10,3 +10,6 @@ PROMPT_COMMAND="history -a;$PROMPT_COMMAND"
# History Size # History Size
HISTFILESIZE= HISTFILESIZE=
HISTSIZE= HISTSIZE=
# Enable vi mode
set -o vi