tl;dr - There are lots of ways to get smarter about how you deploy. Ansible is one choice, it’s not the fanciest, but it’s amazing. NOTE This is not an introduction to ansible, please check out their official documentation if you want that. For most of my projects, I use a GNU Make Makefile based build process. I do that because it’s cross-platform, pretty well suppported/known (for people who build software), and easy to standardize on no matter what project I’m working on.
tl;dr - Undestand & use the short Ansible playbook at the bottom of this post UPDATE end_play is broken in the latest version of Ansible 2.3, more details at the end of the blog post I have a bunch of posts that are backlogged (raw versions written but not pulled together & edited in anyway), but I’m going to skip the queue to get this post I think is highly useful out.
Recently on a project I’ve been working on, I’ve had to do some cross-programming language encryption. More specifically, I’ve had to encrypt data in Python with pycrypto (which is an excellent library), and decrypt that same data after sending it across the network in nodejs. Here’s what I got stuck on, and other random things that worked for me. If you’re trying to send the data just over the wire (ex.