Ứng dụng công cụ quản lý cấu hình Ansible trong quản trị hệ thống mạng

Nguyễn Văn Hiếu * , Trần Thái Bảo Hồ Chí Nguyên

Abstract

This study applies the Ansible configuration management tool to automate network system administration, addressing the limitations of manual configuration such as time consumption, inconsistency, and error-proneness. A simulated environment was built with Windows Server, Debian Linux, and Cisco Router to evaluate Ansible’s automation capabilities through ad-hoc commands and playbooks. The experimental results demonstrate that Ansible significantly reduces configuration time, ensures system consistency, and minimizes operational risks compared to traditional manual methods. Furthermore, the study highlights the potential of integrating Ansible into DevOps workflows and CI/CD pipelines, contributing to the adoption of Infrastructure as Code in modern IT environments.

Keywords: Ansible, Network Automation, Infrastructure as Code

Tóm tắt

Nghiên cứu này ứng dụng công cụ Ansible để tự động hóa quản trị hệ thống mạng, nhằm khắc phục hạn chế của phương pháp cấu hình thủ công vốn tốn thời gian, thiếu nhất quán và dễ sai sót. Môi trường giả lập bao gồm Windows Server, Debian Linux và Cisco Router được xây dựng để đánh giá khả năng tự động hóa của Ansible thông qua các lệnh ad-hoc và playbook. Kết quả thực nghiệm cho thấy Ansible giúp rút ngắn đáng kể thời gian triển khai, đảm bảo tính đồng bộ và giảm rủi ro vận hành so với cách thủ công. Bên cạnh đó, nghiên cứu cũng chỉ ra tiềm năng tích hợp Ansible vào quy trình DevOps và CI/CD, góp phần thúc đẩy xu hướng hạ tầng dưới dạng mã trong môi trường CNTT hiện đại.

Từ khóa: Ansible, Tự động hóa mạng, Cơ sở hạ tầng dưới dạng Mã

Tài liệu tham khảo

[1]. Rahman S., Raza M. N., (2021), “Performance Analysis of Configuration Management Tools: Ansible vs. Puppet vs. Chef”, International Conference on Information and Communication Technology for Sustainable Development (ICICT4SD), pp. 150-155.

[2]. Nguyen L. H. B., Nguyen T. D., (2022), “Deploying DevOps Practices in Computer Lab Management at Universities”, Proceedings of the 2022 RIVF International Conference on Computing and Communication Technologies.

[3]. Freeman, J., & Keating, J. (2019). “Mastering Ansible: Automate configuration management and infrastructure (3rd ed.)”. Packt Publishing.

[4]. Phan Văn Phụng (2022); “Tìm hiểu và triển khai hệ thống quản lý cấu hình sử dụng Ansible”, Khóa luận tốt nghiệp, Đại học Duy Tân, Đà Nẵng.

[5]. Red Hat (2025); “Ansible documentation”, https://docs.ansible.com/ansible/latest/ (truy cập ngày 08, tháng 03, năm 2025).

Số

Chuyên mục

Các bài báo