Move variable-files to group_vars directory
The group_vars dir is the standard destination for ansible to look for variable-files. So I do not have to declare them in the main.yml anymore. This change will make it easier for me to reason about upcoming changes, like using a vault for sensitive information.
This commit is contained in:
4
group_vars/localhost/common.config.yml
Normal file
4
group_vars/localhost/common.config.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
fly_url_linux: https://ci.nehrke.info/api/v1/cli?arch=amd64&platform=linux
|
||||
fly_url_darwin: https://ci.nehrke.info/api/v1/cli?arch=amd64&platform=darwin
|
||||
fly_url: "{{ fly_url_darwin if ansible_os_family == 'Darwin' else fly_url_linux }}"
|
||||
|
||||
158
group_vars/localhost/debian.config.yml
Normal file
158
group_vars/localhost/debian.config.yml
Normal file
@@ -0,0 +1,158 @@
|
||||
deb_packages:
|
||||
- https://github.com/derailed/k9s/releases/latest/download/k9s_linux_amd64.deb
|
||||
|
||||
apt_packages:
|
||||
- alacritty
|
||||
- arandr
|
||||
- asciidoctor
|
||||
- autoconf
|
||||
- autorandr
|
||||
- bash-completion
|
||||
- bind9-dnsutils
|
||||
- btop
|
||||
- build-essential
|
||||
- chromium-browser
|
||||
- colordiff
|
||||
- compton
|
||||
- enpass
|
||||
- eza
|
||||
- fd-find
|
||||
- feh
|
||||
- firefox
|
||||
- firefox-devedition
|
||||
- gcc
|
||||
- gimp
|
||||
- git
|
||||
- git-delta
|
||||
- google-chrome-stable
|
||||
- google-cloud-cli
|
||||
- graphviz
|
||||
- htop
|
||||
- hugo
|
||||
- hyphen-de
|
||||
- i3
|
||||
- imagemagick
|
||||
- jq
|
||||
- kitty
|
||||
- kubectl
|
||||
- libcairo2-dev
|
||||
- libev-dev
|
||||
- libfontconfig1-dev
|
||||
- libgif-dev
|
||||
- libjpeg-dev
|
||||
- libpam0g-dev
|
||||
- libreoffice
|
||||
- libreoffice-l10n-de
|
||||
- libssl-dev
|
||||
- libx11-xcb-dev
|
||||
- libxcb-composite0-dev
|
||||
- libxcb-image0-dev
|
||||
- libxcb-randr0-dev
|
||||
- libxcb-util-dev
|
||||
- libxcb-xinerama0-dev
|
||||
- libxcb-xkb-dev
|
||||
- libxcb-xrm-dev
|
||||
- libxkbcommon-dev
|
||||
- libxkbcommon-x11-dev
|
||||
- lm-sensors
|
||||
- lsb-release
|
||||
- lynx
|
||||
- make
|
||||
- meld
|
||||
- mutt
|
||||
- mythes-de
|
||||
- mythes-en-us
|
||||
- nala
|
||||
- ncal
|
||||
- neovim
|
||||
- network-manager-openconnect
|
||||
- network-manager-openconnect-gnome
|
||||
- nmap
|
||||
- oathtool
|
||||
- openconnect
|
||||
- openssl
|
||||
- pavucontrol
|
||||
- pgcli
|
||||
- pkg-config
|
||||
- plantuml
|
||||
- podman
|
||||
- podman-compose
|
||||
- polybar
|
||||
- pulseaudio-utils
|
||||
- ripgrep
|
||||
- rofi
|
||||
- ruby-asciidoctor-kroki
|
||||
- ruby-asciidoctor-pdf
|
||||
- ruby-asciidoctor-plantuml
|
||||
- ruby-coderay
|
||||
- ruby-pygments.rb
|
||||
- ruby-rouge
|
||||
- spotify-client
|
||||
- stow
|
||||
- tofu
|
||||
- tree
|
||||
- uuid
|
||||
- xsel
|
||||
- xclip
|
||||
- whois
|
||||
- zoxide
|
||||
|
||||
# not all software can be found in standard apt...
|
||||
apt_repositories:
|
||||
# Important: when a repo has more than _one_ key each key requires a name!!
|
||||
- name: enpass
|
||||
sign_keys:
|
||||
- url: https://apt.enpass.io/keys/enpass-linux.key
|
||||
repositories: https://apt.enpass.io/
|
||||
|
||||
- name: spotify
|
||||
sign_keys:
|
||||
- url: https://download.spotify.com/debian/pubkey_C85668DF69375001.gpg
|
||||
repositories: https://repository.spotify.com/
|
||||
components: non-free
|
||||
|
||||
- name: opentofu
|
||||
sign_keys:
|
||||
- url: https://get.opentofu.org/opentofu.gpg
|
||||
name: opentofu
|
||||
format: gpg
|
||||
- url: https://packages.opentofu.org/opentofu/tofu/gpgkey
|
||||
name: opentofu-repo
|
||||
repositories: https://packages.opentofu.org/opentofu/tofu/any/
|
||||
suites: "any"
|
||||
types:
|
||||
- deb
|
||||
- deb-src
|
||||
|
||||
- name: hashicorp
|
||||
sign_keys:
|
||||
- url: https://apt.releases.hashicorp.com/gpg
|
||||
repositories: https://apt.releases.hashicorp.com/
|
||||
suites: "{{ ansible_distribution_release | lower }}"
|
||||
|
||||
- name: google-cloud-sdk
|
||||
sign_keys:
|
||||
- url: https://packages.cloud.google.com/apt/doc/apt-key.gpg
|
||||
repositories: https://packages.cloud.google.com/apt/
|
||||
suites: cloud-sdk
|
||||
|
||||
- name: neovim
|
||||
sign_keys:
|
||||
- url: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x9dbb0be9366964f134855e2255f96fcf8231b6dd
|
||||
repositories: https://ppa.launchpadcontent.net/neovim-ppa/unstable/ubuntu
|
||||
suites: "{{ ansible_distribution_release | lower }}"
|
||||
types:
|
||||
- deb
|
||||
- deb-src
|
||||
|
||||
- name: mozilla
|
||||
sign_keys:
|
||||
- url: https://packages.mozilla.org/apt/repo-signing-key.gpg
|
||||
repositories: https://packages.mozilla.org/apt/
|
||||
suites: "mozilla"
|
||||
|
||||
- name: google
|
||||
sign_keys:
|
||||
- url: https://dl-ssl.google.com/linux/linux_signing_key.pub
|
||||
repositories: http://dl.google.com/linux/chrome/deb/
|
||||
|
||||
51
group_vars/localhost/macos.config.yml
Normal file
51
group_vars/localhost/macos.config.yml
Normal file
@@ -0,0 +1,51 @@
|
||||
# brew packages are packages for the command line
|
||||
brew_packages:
|
||||
- asciidoctor
|
||||
- awscli
|
||||
- bind
|
||||
- btop
|
||||
- colordiff
|
||||
- eza
|
||||
- fd
|
||||
- git
|
||||
- git-delta
|
||||
- gcloud-cli
|
||||
- graphviz
|
||||
- htop
|
||||
- hugo
|
||||
- imagemagick
|
||||
- jq
|
||||
- k9s
|
||||
- kubernetes-cli
|
||||
- lesspipe
|
||||
- lynx
|
||||
- mutt
|
||||
- nmap
|
||||
- nvim
|
||||
- oathtool
|
||||
- opentofu
|
||||
- plantuml
|
||||
- pgcli
|
||||
- ripgrep
|
||||
- stow
|
||||
- tree
|
||||
- uuid
|
||||
- whois
|
||||
- zoxide
|
||||
|
||||
# brew casks are visual programms
|
||||
brew_casks:
|
||||
- alacritty
|
||||
- enpass
|
||||
- firefox
|
||||
- firefox@developer-edition
|
||||
- gimp
|
||||
- gnucash
|
||||
- google-chrome
|
||||
- kitty
|
||||
- spotify
|
||||
- ungoogled-chromium
|
||||
|
||||
# mas apps are apps from the apple app-store
|
||||
mas_apps: []
|
||||
|
||||
Reference in New Issue
Block a user