Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

第 149 章 Ansible - SSH-based configuration management, deployment, and task execution system

目錄

149.1. install
149.2. Getting Started
149.3. ansible - run a command somewhere else
149.3.1. host-pattern
149.3.2. -a MODULE_ARGS, --args=MODULE_ARGS module arguments
149.3.3. -i INVENTORY, --inventory-file=INVENTORY specify inventory host file (default=/etc/ansible/hosts)
149.3.4. -m MODULE_NAME, --module-name=MODULE_NAME module name to execute (default=command)
149.3.5. -s, --sudo run operations with sudo (nopasswd)
149.3.6. -u REMOTE_USER, --user=REMOTE_USER connect as this user (default=root)
149.3.7. 使用實例
149.4. ansible-doc - Show Ansible module documentation
149.5. ansible-playbook - run an ansible playbook
149.5.1. 包含檔案用法

http://ansible.github.com/

Ansible is a radically simple model-driven configuration management, deployment, and command execution framework.

149.1. install

yum install ansible