DEV Community

Discussion on: A tiny "Deployer" made with Shell Script and Rsync

Collapse
 
juliomaranhao profile image
Júlio Maranhão

Ansible needs python at remote site. Sure many distros already have python in default installation. But if python is not available (legacy, old, no-auth?) or you prefer shell scripting, than sh-simple-deployer and cdist are good candidates.

I prefer Ansible but it's not a 2 h tool. Only if I want to print Hello World. Ansible manual is vast and I need a lot of the modules and other concepts (roles, yaml, Jinja, etc) to really say "Wow, this is better/faster than scripting". Maybe a week. :-)

Collapse
 
syntaxseed profile image
SyntaxSeed (Sherri W) • Edited

Good point about the python dependency! If you don't have that, it won't work.

But I wasn't exaggerating about the 2 hours to get a useful versioned deploy from Git working. I used the Deploy Helper module as a starting point:
docs.ansible.com/ansible/latest/mo...