Prerequisites.
1. yum install python-jinja2 python-paramiko python-httplib2 PyYAML sshpass
2. yum install ansible
Check the Ansible version
ansible --version
[root@XXXXXX]# ansible --version
ansible 2.1.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
- Operating System: RHEL/CentOS/Fedora (above version 6.5 or 7)
- Jinja2: A modern, fast and easy to use stand-alone template engine for Python.
- PyYAML: A YAML parser and emitter for the Python programming language.
- parmiko: A native Python SSHv2 channel library.
- httplib2: A comprehensive HTTP client library.
- sshpass: A non-interactive ssh password authentication.
1. yum install python-jinja2 python-paramiko python-httplib2 PyYAML sshpass
2. yum install ansible
Check the Ansible version
ansible --version
[root@XXXXXX]# ansible --version
ansible 2.1.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
No comments:
Post a Comment