Skip to content

Instantly share code, notes, and snippets.

---
- hosts: all
gather_facts: true
name: CVE-2014-6271 - Bash Fix with Debian 6 Support
tasks:
- name: Add LTS to sources.list
lineinfile: >
dest=/etc/apt/sources.list
insertafter=EOF
#
# Delete Ansible retry files
#
5 * * * * /usr/bin/find /Users/user/. -maxdepth 1 -type f -name \*.retry -exec rm {} \; > /dev/null 2>&1
#!/bin/bash
# a simple script to uninstall ossec (tested on debian)
# Author: Han The Thanh <h a n t h e t h a n h @ g m a i l . c o m>
# Public domain.
# this script has been tested on debian; it should also work on other linux
# systems but I have not tested. If you want to be careful and need to see what
# would be done without executing any real action, uncomment the following line:
# dryrun="echo "