opensrp / playbooks

Ansible playbooks for deploying OpenSRP Server and its ancillary services
Other
5 stars 6 forks source link

Install to another cloud #96

Open radimas-sid opened 5 years ago

radimas-sid commented 5 years ago

Can this repo, intall to another cloud like alibabacloud. when i install into new alibaba instance it's cannot to be installed, like variable cannot build, and many more.

ukanga commented 5 years ago

It should be possible to install with Ansible to other hosts. The Packer and Terraform files will only apply if you are attempting to deploy to AWS EC2 instances.

@siti-sidindo Can you share the command you are running? The exact error being experienced? Or even a screenshot? This additional information will provide us with better information for us to be of help to you.

ukanga commented 5 years ago

@siti-sidindo Could you also describe the steps you took?

radimas-sid commented 5 years ago

i have run like the instruction on Readme.md. i have change many variable for instance into another cloud (Alibaba) but it's still cannot build, that's error screenshot (below).

image

and i have re-upload what i have done. like change variable on sample-invetories.

pld commented 5 years ago

The keys that it reports missing look like they're AWS specific. Since the Ansible and Packer file are written for AWS specifically, you'll have to make some adjustments to have it work with alicloud, we'd certainly welcome a pull request to make this more generic.

Looking at Ansible and Packer documentation on how to work with alicloud is a good starting point. It's quite likely the Ansible role for OpenSRP will need to change as well as some other roles in the parent folder here, https://github.com/OpenSRP/playbooks/tree/master/roles/opensrp

radimas-sid commented 5 years ago

Can I get the complete protocol and details for installing Openerp Playbooks for the AWS server?

pld commented 5 years ago

Here's the Ansible documentation for playbook installs, https://docs.ansible.com/ansible/latest/user_guide/playbooks.html, that combined with reading through the playbooks and roles here will be a good start.

radimas-sid commented 5 years ago

can i get step by step for all installation? or just install Ansible then install based on readme?

pld commented 5 years ago

Unfortunately beyond what's in this repo and the OpenSRP wiki we do not have a step-by-step guide