Add Ansible task to deploy our website

This commit is contained in:
2026-01-21 10:20:29 +07:00
parent 8a39803f01
commit 6748a1930b
20 changed files with 278 additions and 0 deletions

12
ansible/README.md Normal file
View File

@@ -0,0 +1,12 @@
# Ansible Automation - Web Server Deployment
## 1. Giới thiệu
Playbook này tự động hoá việc triển khai Nginx Web Server trên cụm Cluster RHEL 9.
## 2. Roles
- **common**: Cài đặt các gói tiện ích (vim, htop...).
- **nginx_server**: Cài đặt Nginx, cấu hình trang chủ custom, quản lý service.
## 3. Cách chạy
```bash
ansible-playbook -i inventory site.yml