Ansible Installation Steps Red Hat Enterprise Linux 7 (RHEL 7)


My Name is ARK. Expert in grasping any new technology, Interested in Sharing the knowledge. Learn more & Earn More

2 Responses

  1. James says:

    Nice article. But pls check ansible config file path is not visible. Correct the installation.

  2. arvind says:

    I’ve encountered the following error:

    [root@ansiblemaster tmp]# ansible –version
    ERROR! Unexpected Exception, this is probably a bug: (cryptography 0.8.2 (/usr/lib64/python2.7/site-packages), Requirement.parse(‘cryptography>=1.1’))
    the full traceback was:

    Traceback (most recent call last):
    File “/usr/bin/ansible”, line 97, in
    mycli = getattr(__import__(“ansible.cli.%s” % sub, fromlist=[myclass]), myclass)
    File “/usr/lib/python2.7/site-packages/ansible/cli/”, line 38, in
    from ansible.inventory.manager import InventoryManager
    File “/usr/lib/python2.7/site-packages/ansible/inventory/”, line 36, in
    from ansible.plugins.loader import inventory_loader
    File “/usr/lib/python2.7/site-packages/ansible/plugins/”, line 22, in
    from ansible.parsing.utils.yaml import from_yaml
    File “/usr/lib/python2.7/site-packages/ansible/parsing/utils/”, line 17, in
    from ansible.parsing.yaml.loader import AnsibleLoader
    File “/usr/lib/python2.7/site-packages/ansible/parsing/yaml/”, line 30, in
    from ansible.parsing.yaml.constructor import AnsibleConstructor
    File “/usr/lib/python2.7/site-packages/ansible/parsing/yaml/”, line 29, in
    from ansible.parsing.vault import VaultLib
    File “/usr/lib/python2.7/site-packages/ansible/parsing/vault/”, line 42, in
    from cryptography.hazmat.backends import default_backend
    File “/usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/”, line 7, in
    import pkg_resources
    File “/usr/lib/python2.7/site-packages/”, line 3011, in
    parse_requirements(__requires__), Environment()
    File “/usr/lib/python2.7/site-packages/”, line 630, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
    VersionConflict: (cryptography 0.8.2 (/usr/lib64/python2.7/site-packages), Requirement.parse(‘cryptography>=1.1’))
    [root@ansiblemaster tmp]#

Leave a Reply

Your email address will not be published. Required fields are marked *