Mail Stack Deployment: - playbooks/deploy_mail_stack.yml: Complete mail server with chasquid + dovecot + firewall * Deploys chasquid SMTP server * Deploys dovecot IMAP server * Includes firewall configuration * Email test with swaks * Configurable domain, certificates, DKIM - playbooks/deploy_mail_firewall.yml: Standalone firewall deployment * Just the firewall role * For servers that only need firewall rules * Customizable via variables Node.js Deployment: - playbooks/deploy_nodejs_vhosts.yml: Node.js runtime for vhosts * Installs Node.js 20.x from NodeSource * Configurable version and packages * Can install additional global npm packages * Supports Yarn installation Inventory: - playbooks/inventory.ini: Updated inventory file * Mail server and nodejs host groups * Example configuration Scripts: - scripts/netcheck.sh: Network connectivity check script All playbooks: - Use become: yes for privilege escalation - Include comprehensive variable documentation - Support customization via vars - Include security best practices 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
30 lines
970 B
INI
30 lines
970 B
INI
[web]
|
|
cn-homepage.svc.plus ansible_host=47.120.61.35
|
|
global-homepage.svc.plus ansible_host=167.179.72.223
|
|
|
|
[deepflow_agents]
|
|
192.168.1.101 ansible_user=root ansible_ssh_pass=pass101
|
|
192.168.1.102 ansible_user=admin ansible_ssh_pass=pass102
|
|
192.168.1.103 ansible_user=root ansible_ssh_pass=pass103 ansible_port=2222
|
|
192.168.1.104 ansible_user=ubuntu ansible_ssh_private_key_file=~/.ssh/id_rsa_ubuntu
|
|
|
|
[mail]
|
|
smtp.svc.plus ansible_host=45.130.167.90
|
|
|
|
[all:vars]
|
|
ansible_port=22
|
|
ansible_user=root
|
|
ansible_host_key_checking=False
|
|
|
|
# SSH 密钥或密码(二选一)
|
|
# ansible_ssh_private_key_file=~/.ssh/id_rsa
|
|
# ansible_ssh_pass=your_password
|
|
|
|
# DeepFlow agent 配置变量
|
|
controller_ips=["10.10.10.10", "10.10.10.11"]
|
|
vtap_group_id="g-P22vLIMdB6"
|
|
|
|
# DeepFlow agent 安装包位置
|
|
agent_base_dir="deepflow-agent-for-linux"
|
|
agent_package_name="deepflow-agent-1.0-5407.systemd.x86_64.rpm"
|