Configure Arch Linux, Ubuntu and macOS using Ansible.
Inspired by this medium post and related GitHub repository
Run the bootstrap script passing up to one tag.
$ ./bin/bootstrap.sh
If no tag is given, all roles are performed.
The bootstrap script will install pip
and ansible
if they are not found.
Files can be encrypted using ansible-vault create --vault-id project@prompt foo.yml
.
Use the command gpg --import <keyfile>
The /etc/hosts
file is missing current hostname. Retrieve it using hostname
command and add a line to /etc/hosts
127.0.0.1 localhost <hostname>