Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.49 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.49 KB

Cloud-1

Prerequisites

  • 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

Steps

  • 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

Troubleshooting

  • 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

Resources

Authors

Alice Vedrenne
Amber Van Bree
Archibald Thirion
Mia Combeau