- Get access to your chosen instance provider (Scaleway in this case)
- Add your ssh publickey in the scaleway console
- Complete the .env file (following the .env.example)
- Complete the .tfvars (following the tfvars.example)
- Install devbox
git clone https://github.com/Archips/Cloud-1.git && cd Cloud-1
cp <path_to_.env_file> ansible/roles/copy-files/tasks/files
cp <path_to_scaleway.auto.tfvars_file> terraform
devbox shell
cd terraform && terraform init
terraform plan
terraform apply
- paste instance's ip in ansible/hosts
cd ../ansible
ansible-playbook -i hosts install.yaml
- If you get this error
could not initialize the preferred locale: unsupported locale setting
using ansible, this command may resolve the issue:locale -a && export LC_ALL=C.UTF-8