-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support federated API deployment #27
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is… just… beautiful! 🥲 👏
I encounter some obstacles testing locally with Vagrant. The obstacles do not seem related to this changeset. I thus approve this PR after thorough review as it reads great, but I have not yet been able to test properly and hope to do so before merge.
roles/federated-api/tasks/main.yml
Outdated
|
||
- name: Read the production config | ||
shell: cat '/home/{{ ansible_user }}/{{ ota_federated_api_directory }}/config/production.json' | ||
register: cat_config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
register: cat_config | |
register: read_config |
- name: Install PM2 to latest version 5 | ||
ansible.builtin.command: npm install -g pm2@5 --production=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd argue this is not really
node/main
conceptually 😉
Co-authored-by: Matti Schneider <[email protected]>
Co-authored-by: Matti Schneider <[email protected]>
Co-authored-by: Matti Schneider <[email protected]>
No description provided.