--- # Arch Linux / Manjaro package installation # All tools are in the official repos or AUR — no PPA needed. - name: Install CLI tools (pacman) become: true community.general.pacman: name: "{{ cli_modern_arch_packages }}" state: present update_cache: true vars: cli_modern_arch_packages: >- {{ (['fish'] if cli_modern_install_fish else []) + (['fzf'] if cli_modern_install_fzf else []) + (['zoxide'] if cli_modern_install_zoxide else []) + (['bat'] if cli_modern_install_bat else []) + (['eza'] if cli_modern_install_eza else []) + (['fd'] if cli_modern_install_fd else []) + (['ripgrep'] if cli_modern_install_ripgrep else []) + (['fastfetch'] if cli_modern_install_fastfetch else []) }} when: cli_modern_arch_packages | length > 0