Project

General

Profile

Deploy Linux Security Updates using Ansible

Ansible
09/10/2025

Deploy Linux Security Updates using Ansible

Use the following steps to deploy Linux security updates using Ansible. Note that this can possibly restart the target host if required.

Login to an Ansible Control Node

Login to an Ansible control node and set the following to prep the playbook execution.

cd /ansible/dev/ansible
source /opt/python_3.12/bin/activate
INV=<set this to the inventory of target nodes to update>

Deploy

Execute the following to deploy Linux security updates.

ansible-playbook -i $INV -k playbooks/linux/deploy_updates.yml

Files