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

', enableHover: false, enableTracking: true, buttons: { twitter: {via: 'aravikumar48'}}, click: function(api, options){ api.simulateClick(); api.openPopup('twitter'); } }); $('#facebook').sharrre({ share: { facebook: true }, template: '
', enableHover: false, enableTracking: true, buttons:{layout: 'box_count'}, click: function(api, options){ api.simulateClick(); api.openPopup('facebook'); } }); $('#pinterest').sharrre({ share: { pinterest: true }, template: '
', enableHover: false, enableTracking: true, buttons: { pinterest: { description: 'Ansible Installation Steps Red Hat Enterprise Linux 7 (RHEL 7)',media: 'https://arkit.co.in/wp-content/uploads/2017/09/Ansible-Installation-Steps-Red-Hat-Enterprise-Linux-7.png' } }, click: function(api, options){ api.simulateClick(); api.openPopup('pinterest'); } }); $('#linkedin').sharrre({ share: { linkedin: true }, template: '
', enableHover: false, enableTracking: true, buttons: { linkedin: { description: 'Ansible Installation Steps Red Hat Enterprise Linux 7 (RHEL 7)',media: 'https://arkit.co.in/wp-content/uploads/2017/09/Ansible-Installation-Steps-Red-Hat-Enterprise-Linux-7.png' } }, click: function(api, options){ api.simulateClick(); api.openPopup('linkedin'); } }); // Scrollable sharrre bar, contributed by Erik Frye. Awesome! var $_shareContainer = $(".sharrre-container"), $_header = $('#header'), $_postEntry = $('.entry'), $window = $(window), startSharePosition = $_shareContainer.offset(),//object contentBottom = $_postEntry.offset().top + $_postEntry.outerHeight(), topOfTemplate = $_header.offset().top, topSpacing = _setTopSpacing(); //triggered on scroll shareScroll = function(){ var scrollTop = $window.scrollTop() + topOfTemplate, stopLocation = contentBottom - ($_shareContainer.outerHeight() + topSpacing); $_shareContainer.css({position : 'fixed'}); if( scrollTop > stopLocation ){ $_shareContainer.css( { position:'relative' } ); $_shareContainer.offset( { top: contentBottom - $_shareContainer.outerHeight(), left: startSharePosition.left, } ); } else if (scrollTop >= $_postEntry.offset().top - topSpacing){ $_shareContainer.css( { position:'fixed',top: '100px' } ); $_shareContainer.offset( { //top: scrollTop + topSpacing, left: startSharePosition.left, } ); } else if (scrollTop 1024 ) { topSpacing = distanceFromTop + $('.nav-wrap').outerHeight(); } else { topSpacing = distanceFromTop; } return topSpacing; } //setup event listeners $window.on('scroll', _.throttle( function() { if ( $window.width() > 719 ) { shareScroll(); } else { $_shareContainer.css({ top:'', left:'', position:'' }) } }, 50 ) ); $window.on('resize', _.debounce( function() { if ( $window.width() > 719 ) { shareMove(); } else { $_shareContainer.css({ top:'', left:'', position:'' }) } }, 50 ) ); });

ARK

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

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/__init__.py”, line 38, in
    from ansible.inventory.manager import InventoryManager
    File “/usr/lib/python2.7/site-packages/ansible/inventory/manager.py”, line 36, in
    from ansible.plugins.loader import inventory_loader
    File “/usr/lib/python2.7/site-packages/ansible/plugins/loader.py”, line 22, in
    from ansible.parsing.utils.yaml import from_yaml
    File “/usr/lib/python2.7/site-packages/ansible/parsing/utils/yaml.py”, line 17, in
    from ansible.parsing.yaml.loader import AnsibleLoader
    File “/usr/lib/python2.7/site-packages/ansible/parsing/yaml/loader.py”, line 30, in
    from ansible.parsing.yaml.constructor import AnsibleConstructor
    File “/usr/lib/python2.7/site-packages/ansible/parsing/yaml/constructor.py”, line 29, in
    from ansible.parsing.vault import VaultLib
    File “/usr/lib/python2.7/site-packages/ansible/parsing/vault/__init__.py”, line 42, in
    from cryptography.hazmat.backends import default_backend
    File “/usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/__init__.py”, line 7, in
    import pkg_resources
    File “/usr/lib/python2.7/site-packages/pkg_resources.py”, line 3011, in
    parse_requirements(__requires__), Environment()
    File “/usr/lib/python2.7/site-packages/pkg_resources.py”, 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 *

Exit mobile version