Archive for February, 2016
Ansible: Using register with with_items
Posted by Kyle Lexmond in Sysadmin on February 21, 2016
The motivation for this came from trying implement running a command that depended on whether or not a previous command succeeded. In this case, I was trying to make the creation of duply profiles idempotent. Duply will exit with an error if you attempt to create a profile that already exists, and I didn’t want […]