Installing Ansible
The Ansible control host is the machine from which we execute
Ansible commands and use it to configure another machine, which we will call
the managed machine. Ansible currently only supports a Linux or OS X controller
machine; however, the managed machine can be Linux, OS X, other Unix-like
machines or Windows.
The requirements for the controller machine are as follows:
- · Python 2.4 or higher
- · paramiko
- · PyYAML
- · Jinja2
- · httplib2
- · Linux-based OS(Red Hat, Centos, Mac OSX)
Ansible RPMs are available from yum for EPEL 6, 7, and currently
supported Fedora distributions. Ansible itself can manage earlier operating
systems that contain Python 2.4 or higher (so also EL5).
Fedora users can install Ansible directly, though if you are using
RHEL or CentOS and have not already done so, configure EPEL.
Ansible Host currently doesn't support windows OS. Instead we can manage windows machines.
$ sudo yum install
ansible
Comments
Post a Comment