Deploying CIS Benchmarks on Ubuntu 14.04 hosts using Ansible

Center for Internet Security(CIS) provides well-defined, unbiased & consensus-based industry best practices to help organizations assess and improve their security. In this blog post, we’ll talk about these benchmarks & how you can deploy most, if not all, on your Ubuntu 14.04 box.

Rebooting server(s) using Ansible

Ansible provides useful tools which we can use to for various purposes. In this blog post, we’ll talk about rebooting servers using ansible & pausing the playbook by waiting for a given amount of time for a given service on a given port to start.

Ansible 'Prompt' handlers

An awesome feature in that is not available in Ansible is immediate notification i.e. notifies :immediately. Ansible has notification handlers[1] but they are only triggered at the end of the current playbook unlike Chef’s[2] which can be triggered immediately! Moreover, you can configure Chef’s notifications to be triggered at specific times i.e. at the very end of a chef-client run i.e. :delayed or immediately i.e. :immediately.