Home | 簡體中文 | 繁體中文 | 雜文 | 知乎專欄 | Github | OSChina 博客 | 雲社區 | 雲棲社區 | Facebook | Linkedin | 視頻教程 | 打賞(Donations) | About
知乎專欄多維度架構 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者”

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

目錄

153.1. install
153.2. Getting Started
153.3. ansible - run a command somewhere else
153.3.1. host-pattern
153.3.2. -a MODULE_ARGS, --args=MODULE_ARGS module arguments
153.3.3. -i INVENTORY, --inventory-file=INVENTORY specify inventory host file (default=/etc/ansible/hosts)
153.3.4. -m MODULE_NAME, --module-name=MODULE_NAME module name to execute (default=command)
153.3.5. -s, --sudo run operations with sudo (nopasswd)
153.3.6. -u REMOTE_USER, --user=REMOTE_USER connect as this user (default=root)
153.3.7. 使用實例
153.4. ansible-doc - Show Ansible module documentation
153.5. ansible-playbook - run an ansible playbook
153.5.1. 包含檔案用法

http://ansible.github.com/

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

153.1. install

yum install ansible