Scripts to build my infrastructure.
⚠️ The following commands are forUbuntu
only.
- Install make.
sudo apt-get install build-essential
- Install ansible.
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository --yes --update ppa:ansible/ansible
sudo apt install ansible
- Fill secrets by creating a
secrets.yaml
fromsecrets.template
underiventory/group_vars/all
.
command | description |
---|---|
install-pg | Install database |
remove-pg | Remove database |
install-k3d | Install cluster k3d |
remove-k3d | Remove closter k3d |
ping | Check access to the machines |
- Add install prerequisites (docker, nginx, etc.)
- Install k3d from a yaml file instead of passing command line arguments