refactor: remove pipx references from Ansible tasks and setup script
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
This commit is contained in:
parent
ceca79f39b
commit
3bcf78d4eb
@ -31,7 +31,6 @@
|
|||||||
name:
|
name:
|
||||||
- git
|
- git
|
||||||
- vim
|
- vim
|
||||||
- pipx
|
|
||||||
- trash-cli
|
- trash-cli
|
||||||
- curl
|
- curl
|
||||||
- wget
|
- wget
|
||||||
@ -41,6 +40,3 @@
|
|||||||
- python3-venv
|
- python3-venv
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Include pipx tasks
|
|
||||||
ansible.builtin.import_tasks: tasks/global/pipx.yml
|
|
||||||
|
@ -28,8 +28,7 @@
|
|||||||
wget
|
wget
|
||||||
fastfetch
|
fastfetch
|
||||||
|
|
||||||
# Package management
|
# Package management
|
||||||
pipx
|
|
||||||
devbox
|
devbox
|
||||||
|
|
||||||
# Development SDKs/Toolkits
|
# Development SDKs/Toolkits
|
||||||
|
18
setup.sh
18
setup.sh
@ -247,25 +247,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
ensure_pipx() {
|
|
||||||
if ! command -v pipx >/dev/null 2>&1; then
|
|
||||||
log_info "Installing pipx..."
|
|
||||||
|
|
||||||
attempt_package_install "pipx"
|
|
||||||
|
|
||||||
# On Arch Linux, install pipx using pacman
|
|
||||||
if command -v pacman >/dev/null 2>&1; then
|
|
||||||
sudo pacman -S python-pipx || die "Failed to install pipx"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# ensurepath
|
|
||||||
sudo pipx ensurepath || die "Failed to ensure pipx path"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
setup_ansible() {
|
setup_ansible() {
|
||||||
ensure_pipx
|
|
||||||
|
|
||||||
log_info "Installing Ansible..."
|
log_info "Installing Ansible..."
|
||||||
attempt_package_install "ansible"
|
attempt_package_install "ansible"
|
||||||
attempt_package_install "ansible-lint"
|
attempt_package_install "ansible-lint"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user