Ansible Galaxy is Open

A quick note from AnsibleFest Brooklyn 2016. Ansible Galaxy is now open source and available at GitHub.com/ansible/galaxy. Congratulations to the Ansible team and Red Hat for open sourcing an important piece of the Ansible stack!

Sign up for DevOps'ish!

DevOps'ish is a weekly newsletter covering DevOps, Cloud Native, Open Source, and the 'ish between.

User Management with Ansible

The contents of this article originally appeared on DZone A few weeks ago, one of my DevOps counterparts was working on building out a new environment for one of our applications. This deployment included a new Puppet server (we are in an orchestration/configuration management state of flux) and my teammate was having some issues provisioning users (I did not ask why nor did I really care). My teammate asked if I could help with some Ansible knowledge. [Read More]

Ansible lineinfile be damned

The Ansible lineinfile module is designed to search a file for a line, and ensure that it is present or absent. lineinfile is very effective at that particular task. However, when the line has to be in a certain place or before or after a certain line, lineinfile becomes a hassle to manage. Sign up for DevOps'ish! DevOps'ish is a weekly newsletter covering DevOps, Cloud Native, Open Source, and the 'ish between. [Read More]

Poorly Documented Dependencies

Few things irritate me more than poorly documented dependencies. If your tool or software documentation states you can install your widget with one command and it does not work you are probably annoying people. Sign up for DevOps'ish! DevOps'ish is a weekly newsletter covering DevOps, Cloud Native, Open Source, and the 'ish between. Consider this a running list of tools and their often not well documented dependency chains. [Read More]

Got Badlock? Ansible Can Help

Badlock might not be bad for all. If you are using Ansible you can patch your systems with a single playbook (or ad hoc command). Sign up for DevOps'ish! DevOps'ish is a weekly newsletter covering DevOps, Cloud Native, Open Source, and the 'ish between. For RPM based OS users Badlock (samba) patching is as easy as: ansible -m shell -a "yum update *samba*" all [Read More]

Using Ansible Vault Effectively

Ansible is a great orchestration tool. The low barrier to entry and simplicity of Ansible are why so many people that start using it love it. But there is one feature in Ansible that probably should be used more often. That feature is Ansible Vault. Sign up for DevOps'ish! DevOps'ish is a weekly newsletter covering DevOps, Cloud Native, Open Source, and the 'ish between. “Vault” is a feature of ansible that allows keeping sensitive data such as passwords or keys in encrypted files, rather than as plaintext in your playbooks or roles. [Read More]

Grep Multiple Ansible Vault Files

Here’s a handy one-liner to grep multiple Ansible Vault files (like group_vars). All you need is an Ansible Vault password file (outside of your configuration repo, please) and a little bash. {{ highlight bash }} ls -1 | while read N ; do echo -n $N: ; ansible-vault –vault-password-file ~/.ansible_vault view $N | grep ; done {{ / highlight }} Sign up for DevOps'ish! DevOps'ish is a weekly newsletter covering DevOps, Cloud Native, Open Source, and the 'ish between. [Read More]