Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | Email

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

目录

154.1. install
154.2. Getting Started
154.3. ansible - run a command somewhere else
154.3.1. host-pattern
154.3.2. -a MODULE_ARGS, --args=MODULE_ARGS module arguments
154.3.3. -i INVENTORY, --inventory-file=INVENTORY specify inventory host file (default=/etc/ansible/hosts)
154.3.4. -m MODULE_NAME, --module-name=MODULE_NAME module name to execute (default=command)
154.3.5. -s, --sudo run operations with sudo (nopasswd)
154.3.6. -u REMOTE_USER, --user=REMOTE_USER connect as this user (default=root)
154.3.7. 使用实例
154.4. ansible-doc - Show Ansible module documentation
154.5. ansible-playbook - run an ansible playbook
154.5.1. 包含文件用法

http://ansible.github.com/

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

154.1. install

yum install ansible