mirror of
https://github.com/rodneyosodo/dotfiles.git
synced 2026-08-07 07:14:47 +00:00
7edfd4921c
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
14 lines
280 B
Bash
14 lines
280 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
|
|
|