mirror of
https://github.com/rodneyosodo/dotfiles.git
synced 2026-06-22 20:00:17 +00:00
13 lines
279 B
Bash
13 lines
279 B
Bash
#!/usr/bin/bash
|
|
|
|
if command -v apt &>/dev/null; then
|
|
sudo apt install ansible
|
|
sudo apt install ansible-galaxy
|
|
elif command -v pacman &>/dev/null; then
|
|
sudo pacman -S ansible
|
|
sudo pacman -S ansible-galaxy
|
|
else
|
|
echo "Could not find apt or pacman"
|
|
exit 1
|
|
fi
|