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). For RPM based OS users Badlock (samba) patching is as easy as: ansible -m shell -a "yum update *samba*" all Or you can be very granular and use an Ansible Playbook to audit and patch samba packages: 1 2 3 4 5 6 7 8 9 10 --- - hosts: all tasks: - name: Check if samba packages are installed shell: "yum list installed *samba* | awk '!/^Loaded|^Installed/' | cut -d ' ' -f 1" register: yum_samba - name: Update samba if installed yum: name={{ item }} state=latest when: yum_samba.stdout != "" with_items: '{{yum_samba.stdout_lines}}' A similar Ansible Playbook for a Debian based system would look something like this: ...