manage debian
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
vincent 2022-10-09 21:59:30 +02:00
parent 8810afe667
commit 2b9523c924
4 changed files with 13 additions and 10 deletions

View File

@ -15,6 +15,9 @@ platforms:
#box: generic/rocky8 #box: generic/rocky8
- name: rocky9 - name: rocky9
box: generic/rocky9 box: generic/rocky9
- name: debian
box: generic/debian11
provisioner: provisioner:
name: ansible name: ansible
@ -32,5 +35,8 @@ provisioner:
rocky9: rocky9:
user: user:
name: vagrant name: vagrant
debian:
user:
name: vagrant
verifier: verifier:
name: ansible name: ansible

View File

@ -57,12 +57,13 @@
- name: GITHUB | Get current version of bat - name: GITHUB | Get current version of bat
shell: > shell: >
set -o pipefail
warn=False warn=False
curl --silent https://github.com/sharkdp/bat/releases/latest | curl -L --silent https://api.github.com/repos/sharkdp/bat/releases/latest |
grep 'tag' | grep '"tag_name":' |
sed -E 's/.*v([0-9].[0-9][0-9].[0-9]).*/\1/' sed -E 's/.*"([^"]+)".*/\1/'|sed 's/v//'
register: bat_version register: bat_version
changed_when: false
failed_when: > failed_when: >
bat_version.rc != 0 or bat_version.rc != 0 or
not bat_version.stdout|regex_search('\w+\.\w+\.\w+') not bat_version.stdout|regex_search('\w+\.\w+\.\w+')

View File

@ -1,7 +1,7 @@
system_base_softwares: system_base_softwares:
- "zsh" - "zsh"
- "lsof" - "lsof"
- "glances" # - "glances"
- "stow" - "stow"
- "wakeonlan" - "wakeonlan"
- "nmap" - "nmap"
@ -16,7 +16,6 @@ system_base_softwares:
- "thefuck" - "thefuck"
- "tldr" - "tldr"
- "ntfs-3g" - "ntfs-3g"
- "python-lxml"
- "tmux" - "tmux"
- "neovim" - "neovim"
- "python3-neovim" - "python3-neovim"
@ -35,4 +34,4 @@ system_base_softwares:
- "fonts-cascadia-code" - "fonts-cascadia-code"
- "fd-find" - "fd-find"
- "fzf" - "fzf"
- "xterm-kitty" # - "xterm-kitty

View File

@ -27,11 +27,8 @@ system_base_softwares:
- "unzip" - "unzip"
- "unrar" - "unrar"
- "git-lfs" - "git-lfs"
- "httpie"
- "lsof" - "lsof"
- "glances"
- "ethtool" - "ethtool"
- "netcat"
#- "netctl" #- "netctl"
- "logrotate" - "logrotate"
#- "otf-cascadia-code" #- "otf-cascadia-code"