Ansible Playbooks for Podific server orchestration
Instructions for running playbooks:
- Use ssh-copy-id to copy ssh public keys to the server.
- Execuete 'bootstrap.yml' playbook to create non-root user account.
- Ensure 'vaultpass' file contains vault password.
- Ensure '.env' file's path in the vars/site_vars.yml is correct.
- Ensure 'api_uri' port in the vars/site_vars.yml matches with the one in .env file.
- Execute 'site.yml' to orchestrate server.
- Now you may use PM2 to deploy the code.