-
Clone the repository and navigate to the directory
-
Inspect
hosts.yml
and thevars.yml
files to ensure they match your current setup -
Run
./install.sh
to install Ansible and its requirements -
Create
secret.yml
files under thegroup_vars
andhost_vars
subdirectories:-
In
group_vars/all/secret.yml
add the following:github_token: GITHUB_PERSONAL_ACCESS_TOKEN_FOR_ADDING_SSH_KEY_HERE
-
In
host_vars/JacksonBox/secret.yml
add the following:password: YOUR-USERS-PASSWORD-HERE dynamic_dns_password: DYNAMIC-DNS-SERVICE-PASSWORD-HERE nextcloud_db_password: NEXTCLOUD-DB-PASSWORD-HERE nextcloud_admin_password: NEXTCLOUD-ADMIN-PASSWORD-HERE
-
In
host_vars/EvanAsus/secret.yml
add the following:password: YOUR-USERS-PASSWORD-HERE
-
In
host_vars/RaspberryPi/secret.yml
add the following:password: YOUR-USERS-PASSWORD-HERE
-
-
Get a Wireguard configuration file from your VPN provider and place it at
roles/web/files/wg0.conf
. -
Run
ansible-vault encrypt **/secret.yml roles/web/files/wg0.conf
and provide a password to encrypt the files. Note that allsecret.yml
files are ignored by.gitignore
.
Run ./run.sh
to run all the playbooks. Optionally, pass the name of a playbook (without its extension) to just run that playbook (e.g. ./run.sh personal
).