Scripts to run Ansible on OSX or Ubuntu
Runs bootstrap and OS specific playbooks.
WARNING: This starts sshd, changes shell to zsh, and changes terminal color to solarized.
Tested with Ubuntu Desktop 20.04
wget -qO- https://raw.githubusercontent.com/andrewtchin/ansible-common/master/ubuntu-desktop.sh | bash
Tested with Ubuntu Desktop 20.04
wget -qO- https://raw.githubusercontent.com/andrewtchin/ansible-common/master/ubuntu-developer.sh | bash
Tested with Ubuntu Desktop 20.04
wget -qO- https://raw.githubusercontent.com/andrewtchin/ansible-common/master/ubuntu-browsing.sh | bash
WARNING: This starts sshd, changes shell to zsh, and changes terminal color to solarized.
Tested with Ubuntu Server 20.04
wget -qO- https://raw.githubusercontent.com/andrewtchin/ansible-common/master/ubuntu-server.sh | bash
WARNING: This installs an authorized_keys file. Replace dotfiles with your own.
wget -qO- https://raw.githubusercontent.com/andrewtchin/ansible-common/master/dotfiles.sh | bash
wget -qO- https://raw.githubusercontent.com/andrewtchin/ansible-common/master/osx-single.sh | bash
Without installing Xcode (Assumes already installed):
wget -qO- https://raw.githubusercontent.com/andrewtchin/ansible-common/master/osx-single-skip-xcode.sh | bash
Set OS X defaults:
cd ~/ansible-osx; ansible-playbook -vvv playbooks/osx-defaults.yml --ask-become-pass --extra-vars=@vars/osx.yml
Install dotfiles:
WARNING: This installs an authorized_keys file. Replace dotfiles with your own.
wget -qO- https://raw.githubusercontent.com/andrewtchin/ansible-common/master/dotfiles.sh | bash
wget -qO- https://raw.githubusercontent.com/andrewtchin/ansible-common/master/ubuntu-bootstrap.sh | bash
wget -qO- https://raw.githubusercontent.com/andrewtchin/ansible-common/master/osx-bootstrap.sh | bash
Run OS specific playbook.
Authorized Key
wget -qO- https://raw.githubusercontent.com/andrewtchin/ansible-common/master/authorized-key.sh | bash