تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

ansible-skill

بواسطة botond-rackhost

DevOps & Cloud
2.1kالتنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Infrastructure automation with Ansible.

الوصف

ما الذي تفعله هذه المهارة

Ansible automates infrastructure tasks across multiple servers using declarative YAML playbooks. Covers server provisioning, configuration management, application deployment, and security hardening. Includes pre-built roles for OpenClaw VPS setup, SSH hardening, firewall configuration, and Node.js installation.

Manages entire server fleets from a single command with no agents required on remote hosts, making it simpler to operate than Chef or Puppet.

متى تستخدمها

  • Provisioning a new VPS with SSH key auth and firewall rules
  • Rolling Node.js app updates across a server fleet one host at a time
  • Applying SSH hardening and fail2ban to production servers
  • Running ad-hoc commands across multiple hosts simultaneously
  • Encrypting server credentials with Ansible Vault

مثال على سير العمل

الإدخال

User asks: Set up a new VPS with OpenClaw and security hardening

الوكيل
  1. 1

    Add host entry to inventory/hosts.yml with IP address and initial root credentials

  2. 2

    Run openclaw-vps.yml playbook with --limit targeting the new server

  3. 3

    Common role updates system packages, installs essentials, and creates deploy user with SSH key

  4. 4

    Security role disables root login, enables fail2ban, and configures UFW firewall ports

  5. 5

    Node.js and OpenClaw roles install the runtime and register OpenClaw as a systemd service

الإخراج

VPS fully configured with OpenClaw running as a systemd service, root login disabled, and firewall active on ports 22, 80, and 443

التثبيت

clawhub install botond-rackhost/ansible-skill

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط