Skip to content

Instantly share code, notes, and snippets.

Chris ImTheDeveloper

Block or report user

Report or block ImTheDeveloper

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kbariotis
kbariotis / main.yaml
Last active Aug 2, 2019
Ansible playbook for deploying a Node.js app to DigitalOcean
View main.yaml
- name: DO
hosts: localhost
vars:
project_name: "PUT A NAME FOR YOUR PROJECT HERE"
do_token: "PUT YOUR DIGITAL OCEAN API KEY HERE ==> https://cloud.digitalocean.com/settings/api/tokens"
repository: "PUT YOUR REPOSITORY URL HERE"
tasks:
- name: LOCAL | Generate SSH key
shell: ssh-keygen -b 2048 -t rsa -f ~/.ssh/{{project_name}} -q -N ""
You can’t perform that action at this time.