openfoodfoundation / ofn-install

Ansible scripts for provisioning and deploying Open Food Network
54 stars 112 forks source link

Add in_prod to list of globally managed servers #912

Closed dacook closed 10 months ago

dacook commented 10 months ago

To ensure it gets deployed each week.

I considered creating an 'asia' group, but there's no need to group when there's only one so far.

dacook commented 10 months ago

I executed a deployment to the india server today, all seems to have gone fine.

Note that you need to ssh into the server for the first time before you can run the playbook:

~/projects/ofn-install $ ansible-playbook --limit in_prod --extra-vars "git_version=v4.4.19" playbooks/deploy.yml

PLAY [deploy] **********************************************************************************************************
Tuesday 14 November 2023  10:36:35 +1100 (0:00:00.079)       0:00:00.079 ******
The authenticity of host 'openfoodnetwork.in (15.207.191.188)' can't be established.
ECDSA key fingerprint is SHA256:BhqLpxsIEvhcMGSqs1fMCcAPuibElRRILdVKMMQjWo8.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
TASK [Gathering Facts] *************************************************************************************************
fatal: [openfoodnetwork.in]: FAILED! => {"msg": "Timeout (12s) waiting for privilege escalation prompt: "}
sigmundpetersen commented 10 months ago

considered creating an 'asia' group,

We could create an australiasia group

apac (https://en.wikipedia.org/wiki/Asia%E2%80%93Pacific) 🙂