This is a bootstrap installer for Ansible. It can be used to install a standalone ansible
and ansible-playbook
for use in local mode. There are some example playbooks in the directory sample-playbooks. The following example will ask the user for the sudo
password and then run whoami
.
$ ansible-playbook -i localhost, -c local \
--ask-become-pass sample-playbook/whoami.yml
if you don't want to see the cows from cowsay
then set the environment variable first to
export ANSIBLE_COW_SELECTION=no
- Run the script
bootstrap.sh
with sudo:
sudo -H bootstrap.sh
- Download the latest version of Xcode from the Apple Developer Website or get it using the Apple Store. Once you have Xcode installed, open a terminal window and run
xcode-select --install
. Click the install button to install the command line tools. If you see a message telling you that the software cannot be installed because it is not currently available, this usually means that the software is already installed and at the latest version. You can also get the command line tools via the Apple Store. - Run the script
bootstrap.sh
with sudo as the root user:
sudo -H bootstrap.sh
FreeBSD support is coming soon!
This code is copyright Brian A. Onn and licensed with the MIT license. See the file LICENSE.md