Ansible Cisco Projects

Ingenious Way to Update Passwords for Devices at Once — No Vault Needed!

View on GitHub View on Cisco Code Exchange

✅ Cisco Code Exchange Contribution Status

Click the button below to dynamically verify the project's presence and description on the Cisco Code Exchange platform, confirming its official open-source contribution status.

📚 Project Overview

This project leverages the power of Ansible to provide a simple yet effective solution for security management across embedded Linux devices, particularly within a Cisco environment. It focuses on efficiency by offering a way to update passwords simultaneously across multiple devices without requiring complex secrets management tools like Vault, making it ideal for streamlined operations and initial device setup.

🚀 Getting Started

Installation

git clone https://github.com/pradeepbabar31/cisco_projects.git
cd cisco_projects
python3 -m venv venv
source venv/bin/activate

Usage

Execute the playbook with the following command, remembering to use -k and -K to prompt for SSH and privilege escalation passwords, respectively:

ansible-playbook -i inventory multiple_pass_change.yml -e "hostlist=cisco_device_host_ip" "-u=root" -k -K