Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | 51CTO学院 | CSDN程序员研修院 | OSChina 博客 | 腾讯云社区 | 阿里云栖社区 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏多维度架构

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

目录

130.1. install
130.2. Getting Started
130.3. ansible - run a command somewhere else
130.3.1. host-pattern
130.3.2. -a MODULE_ARGS, --args=MODULE_ARGS module arguments
130.3.3. -i INVENTORY, --inventory-file=INVENTORY specify inventory host file (default=/etc/ansible/hosts)
130.3.4. -m MODULE_NAME, --module-name=MODULE_NAME module name to execute (default=command)
130.3.5. -s, --sudo run operations with sudo (nopasswd)
130.3.6. -u REMOTE_USER, --user=REMOTE_USER connect as this user (default=root)
130.3.7. 使用实例
130.4. ansible-doc - Show Ansible module documentation
130.5. ansible-playbook - run an ansible playbook
130.5.1. 包含文件用法

http://ansible.github.com/

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

130.1. install

yum install ansible