You can skip this step if you already have ansible intalled.
pip
:inventory
file.inventory
file, open it with your editor and add the the hostname or FQDN of the server(s) you want to deploy Appsmith, along with the ansible port and ansible_user.inventory
file using ansible_ssh_private_key_file
appsmith-vars.yml
file with your editor.
There are some variables that will need input from you to get the application start correctlyinstall_dir
: The absolute path of your app's installation folder on the server (required). Default value: ~/appsmith
inventory
file & feed your configuration vars from appsmith-vars.yml
before running the playbookcustom_domain
or by your SERVER_HOST
(if you didn't provide value for custom_domain
variable )Note: You can put yourinventory
file in other folder and then specify its path with the-i
flag, for more detail, please check Ansible Inventory documentation​