mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
21 lines
505 B
Bash
21 lines
505 B
Bash
#!/usr/bin/env bash
|
|
|
|
echo -e "Starting initial setup..."
|
|
|
|
# Install ansible python dependencies
|
|
sudo xpbs-install -Syu -y
|
|
sudo xbps-install python3 python3-pip ansible -y
|
|
sudo pip install pexpect github3.py -y
|
|
|
|
# Install ansible extensions
|
|
ansible-galaxy install -r {{ .chezmoi.workingTree }}/provision/requirements.yml
|
|
|
|
# Goto playbook and run it
|
|
cd {{ .chezmoi.workingTree }}/provision
|
|
ansible-playbook setup.yml -i hosts --ask-become-pass
|
|
|
|
# Return to where you were
|
|
cd -
|
|
|
|
echo "I'd suggest rebooting"
|