ios_facts module unable to open shell

51 views
Skip to first unread message

Otto Nix

unread,
Mar 6, 2018, 1:41:53 PM3/6/18
to Ansible Project
Hello all,

I'm new to Ansible so forgive me if this is elementary. I have looked all over for a solution to my problems getting ios_facts to work and none of the solutions worked for me. No matter what I try it always fails with an "unable to open shell" message. I work for a managed services company and I'd like to use ansible to gather facts on firewalls we manage.

The environment is:
CentOS 7.4.1708
Python 2.7.5
Ansible 2.4.2.0

The simple playbook example I'm using just as a test is:
---
- hosts: ios_fw
  connection: local

  tasks:
    - ios_facts:
        host: "{{ inventory_hostname }}
        username: ans
        password: Xxx-xxx_x_x-x


My inventory has a singe group [ios_fw] with a single entry of 10.128.252.4.

The output with debugging is listed below:
 
[root@hq001orc01 ~]# ansible-playbook gh-ios-ex.yml
 
11288 1520361532.30940: starting run
 
11288 1520361532.52803: Added group all to inventory
 
11288 1520361532.52917: Added group ungrouped to inventory
 
11288 1520361532.52943: Group all now contains ungrouped
 
11288 1520361532.53161: Loading CacheModule 'memory' from /usr/lib/python2.7/site-packages/ansible/plugins/cache/memory.py
 
11288 1520361532.53430: Loading InventoryModule 'host_list' from /usr/lib/python2.7/site-packages/ansible/plugins/inventory/host_list.py
 
11288 1520361532.53482: Loading InventoryModule 'script' from /usr/lib/python2.7/site-packages/ansible/plugins/inventory/script.py
 
11288 1520361532.53529: Loading InventoryModule 'yaml' from /usr/lib/python2.7/site-packages/ansible/plugins/inventory/yaml.py
 
11288 1520361532.53603: Loading InventoryModule 'ini' from /usr/lib/python2.7/site-packages/ansible/plugins/inventory/ini.py
 
11288 1520361532.53631: Examining possible inventory source: /etc/ansible/hosts
 
11288 1520361532.53659: Attempting to use plugin host_list (/usr/lib/python2.7/site-packages/ansible/plugins/inventory/host_list.py)
 
11288 1520361532.53685: /etc/ansible/hosts did not meet host_list requirements
 
11288 1520361532.53705: Attempting to use plugin script (/usr/lib/python2.7/site-packages/ansible/plugins/inventory/script.py)
 
11288 1520361532.53757: /etc/ansible/hosts did not meet script requirements
 
11288 1520361532.53779: Attempting to use plugin yaml (/usr/lib/python2.7/site-packages/ansible/plugins/inventory/yaml.py)
 
11288 1520361532.53950: Loading data from /etc/ansible/hosts
 
11288 1520361532.54181: /etc/ansible/hosts was not parsable by yaml
 
11288 1520361532.54203: Attempting to use plugin ini (/usr/lib/python2.7/site-packages/ansible/plugins/inventory/ini.py)
 
11288 1520361532.54472: Added group ios_fw to inventory
 
11288 1520361532.54517: set inventory_file for 10.128.252.4
 
11288 1520361532.54548: set inventory_dir for 10.128.252.4
 
11288 1520361532.54568: Added host 10.128.252.4 to inventory
 
11288 1520361532.54590: Added host 10.128.252.4 to group ios_fw
 
11288 1520361532.54614: Reconcile groups and hosts in inventory.
 
11288 1520361532.54641: Group all now contains ios_fw
 
11288 1520361532.54664: Group all now contains 10.128.252.4
 
11288 1520361532.54696: Loading CacheModule 'memory' from /usr/lib/python2.7/site-packages/ansible/plugins/cache/memory.py (found_in_cache=True, class_only=False)
 
11288 1520361532.56474: Loading data from /root/gh-ios-ex.yml
 
11288 1520361532.72749: Loading CallbackModule 'default' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/default.py
 
11288 1520361532.73629: assigned :doc
 
11288 1520361532.73817: Loading CallbackModule 'actionable' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/actionable.py (found_in_cache=False, class_only=True)
 
11288 1520361532.73958: assigned :doc
 
11288 1520361532.74014: Loading CallbackModule 'context_demo' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/context_demo.py (found_in_cache=False, class_only=True)
 
11288 1520361532.74116: assigned :doc
 
11288 1520361532.74176: Loading CallbackModule 'debug' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/debug.py (found_in_cache=False, class_only=True)
 
11288 1520361532.74277: assigned :doc
 
11288 1520361532.74307: Loading CallbackModule 'default' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/default.py (found_in_cache=False, class_only=True)
 
11288 1520361532.74858: assigned :doc
 
11288 1520361532.74997: Loading CallbackModule 'dense' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/dense.py (found_in_cache=False, class_only=True)
 
11288 1520361532.77448: assigned :doc
 
11288 1520361532.82463: Loading CallbackModule 'foreman' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.py (found_in_cache=False, class_only=True)
 
11288 1520361532.82924: assigned :doc
 
11288 1520361532.82969: Loaded config def from plugin (callback/foreman)
 
11288 1520361532.83019: Loading CallbackModule 'full_skip' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/full_skip.py (found_in_cache=False, class_only=True)
 
11288 1520361532.83144: assigned :doc
 
11288 1520361532.83585: Loading CallbackModule 'hipchat' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/hipchat.py (found_in_cache=False, class_only=True)
 
11288 1520361532.83937: assigned :doc
 
11288 1520361532.83974: Loaded config def from plugin (callback/hipchat)
 
11288 1520361532.84042: Loading CallbackModule 'jabber' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/jabber.py (found_in_cache=False, class_only=True)
 
11288 1520361532.84293: assigned :doc
 
11288 1520361532.84326: Loaded config def from plugin (callback/jabber)
 
11288 1520361532.84378: Loading CallbackModule 'json' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/json.py (found_in_cache=False, class_only=True)
 
11288 1520361532.84496: assigned :doc
 
11288 1520361532.84588: Loading CallbackModule 'junit' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/junit.py (found_in_cache=False, class_only=True)
 
11288 1520361532.85084: assigned :doc
 
11288 1520361532.85129: Loaded config def from plugin (callback/junit)
 
11288 1520361532.85185: Loading CallbackModule 'log_plays' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/log_plays.py (found_in_cache=False, class_only=True)
 
11288 1520361532.85321: assigned :doc
 
11288 1520361532.85431: Loading CallbackModule 'logentries' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.py (found_in_cache=False, class_only=True)
 
11288 1520361532.86089: assigned :doc
 
11288 1520361532.86113: assigned :plainexamples
 
11288 1520361532.86158: Loaded config def from plugin (callback/logentries)
 
11288 1520361532.86228: Loading CallbackModule 'logstash' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/logstash.py (found_in_cache=False, class_only=True)
 
11288 1520361532.86540: assigned :doc
 
11288 1520361532.86577: Loaded config def from plugin (callback/logstash)
 
11288 1520361532.86727: Loading CallbackModule 'mail' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/mail.py (found_in_cache=False, class_only=True)
 
11288 1520361532.86992: assigned :doc
 
11288 1520361532.87028: Loaded config def from plugin (callback/mail)
 
11288 1520361532.87090: Loading CallbackModule 'minimal' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/minimal.py (found_in_cache=False, class_only=True)
 
11288 1520361532.87251: assigned :doc
 
11288 1520361532.87310: Loading CallbackModule 'oneline' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/oneline.py (found_in_cache=False, class_only=True)
 
11288 1520361532.87469: assigned :doc
 
11288 1520361532.87531: Loading CallbackModule 'osx_say' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/osx_say.py (found_in_cache=False, class_only=True)
 
11288 1520361532.87666: assigned :doc
 
11288 1520361532.87730: Loading CallbackModule 'profile_roles' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/profile_roles.py (found_in_cache=False, class_only=True)
 
11288 1520361532.87916: assigned :doc
 
11288 1520361532.87985: Loading CallbackModule 'profile_tasks' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/profile_tasks.py (found_in_cache=False, class_only=True)
 
11288 1520361532.88311: assigned :doc
 
11288 1520361532.88339: assigned :plainexamples
 
11288 1520361532.88375: Loaded config def from plugin (callback/profile_tasks)
 
11288 1520361532.88731: Loading CallbackModule 'selective' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/selective.py (found_in_cache=False, class_only=True)
 
11288 1520361532.89327: assigned :doc
 
11288 1520361532.89354: assigned :plainexamples
 
11288 1520361532.89402: Loaded config def from plugin (callback/selective)
 
11288 1520361532.89453: Loading CallbackModule 'skippy' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/skippy.py (found_in_cache=False, class_only=True)
 
11288 1520361532.89532: assigned :doc
 
11288 1520361532.89609: Loading CallbackModule 'slack' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/slack.py (found_in_cache=False, class_only=True)
 
11288 1520361532.89956: assigned :doc
 
11288 1520361532.89997: Loaded config def from plugin (callback/slack)
 
11288 1520361532.90049: Loading CallbackModule 'stderr' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/stderr.py (found_in_cache=False, class_only=True)
 
11288 1520361532.90184: assigned :doc
 
11288 1520361532.90362: Loading CallbackModule 'syslog_json' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/syslog_json.py (found_in_cache=False, class_only=True)
 
11288 1520361532.90611: assigned :doc
 
11288 1520361532.90645: Loaded config def from plugin (callback/syslog_json)
 
11288 1520361532.90695: Loading CallbackModule 'timer' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/timer.py (found_in_cache=False, class_only=True)
 
11288 1520361532.90791: assigned :doc
 
11288 1520361532.90848: Loading CallbackModule 'tree' from /usr/lib/python2.7/site-packages/ansible/plugins/callback/tree.py (found_in_cache=False, class_only=True)
 
11288 1520361532.90966: assigned :doc
 
11288 1520361532.91003: in VariableManager get_vars()
 
11288 1520361532.93882: Loading FilterModule 'core' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/core.py
 
11288 1520361532.93991: Loading FilterModule 'ipaddr' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/ipaddr.py
 
11288 1520361532.94381: Loading FilterModule 'json_query' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/json_query.py
 
11288 1520361532.94438: Loading FilterModule 'mathstuff' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/mathstuff.py
 
11288 1520361532.94565: Loading FilterModule 'network' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/network.py
 
11288 1520361532.94614: Loading FilterModule 'urlsplit' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/urlsplit.py
 
11288 1520361532.94965: Loading TestModule 'core' from /usr/lib/python2.7/site-packages/ansible/plugins/test/core.py
 
11288 1520361532.95012: Loading TestModule 'files' from /usr/lib/python2.7/site-packages/ansible/plugins/test/files.py
 
11288 1520361532.95058: Loading TestModule 'mathstuff' from /usr/lib/python2.7/site-packages/ansible/plugins/test/mathstuff.py
 
11288 1520361532.95531: done with get_vars()
 
11288 1520361532.95608: in VariableManager get_vars()
 
11288 1520361532.95678: Loading FilterModule 'core' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/core.py (found_in_cache=True, class_only=False)
 
11288 1520361532.95704: Loading FilterModule 'ipaddr' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/ipaddr.py (found_in_cache=True, class_only=False)
 
11288 1520361532.95727: Loading FilterModule 'json_query' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/json_query.py (found_in_cache=True, class_only=False)
 
11288 1520361532.95765: Loading FilterModule 'mathstuff' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/mathstuff.py (found_in_cache=True, class_only=False)
 
11288 1520361532.95790: Loading FilterModule 'network' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/network.py (found_in_cache=True, class_only=False)
 
11288 1520361532.95812: Loading FilterModule 'urlsplit' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/urlsplit.py (found_in_cache=True, class_only=False)
 
11288 1520361532.95880: Loading TestModule 'core' from /usr/lib/python2.7/site-packages/ansible/plugins/test/core.py (found_in_cache=True, class_only=False)
 
11288 1520361532.95906: Loading TestModule 'files' from /usr/lib/python2.7/site-packages/ansible/plugins/test/files.py (found_in_cache=True, class_only=False)
 
11288 1520361532.95928: Loading TestModule 'mathstuff' from /usr/lib/python2.7/site-packages/ansible/plugins/test/mathstuff.py (found_in_cache=True, class_only=False)
 
11288 1520361532.96046: done with get_vars()

PLAY
[ios_fw] **********************************************************************************************************
 
11288 1520361533.02151: Loading StrategyModule 'linear' from /usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.py
 
11288 1520361533.02298: getting the remaining hosts for this loop
 
11288 1520361533.02332: done getting the remaining hosts for this loop
 
11288 1520361533.02379: building list of next tasks for hosts
 
11288 1520361533.02402: getting the next task for host 10.128.252.4
 
11288 1520361533.02430: done getting next task for host 10.128.252.4
 
11288 1520361533.02458:  ^ task is: TASK: Gathering Facts
 
11288 1520361533.02482:  ^ state is: HOST STATE: block=0, task=0, rescue=0, always=0, run_state=ITERATING_SETUP, fail_state=FAILED_NONE, pending_setup=True, tasks child state? (None), rescue child state? (None), always child state? (None), did rescue? False, did start at task? False
 
11288 1520361533.02504: done building task lists
 
11288 1520361533.02525: counting tasks in each state of execution
 
11288 1520361533.02552: done counting tasks in each state of execution:
        num_setups
: 1
        num_tasks
: 0
        num_rescue
: 0
        num_always
: 0
 
11288 1520361533.02574: advancing hosts in ITERATING_SETUP
 
11288 1520361533.02595: starting to advance hosts
 
11288 1520361533.02617: getting the next task for host 10.128.252.4
 
11288 1520361533.02644: done getting next task for host 10.128.252.4
 
11288 1520361533.02667:  ^ task is: TASK: Gathering Facts
 
11288 1520361533.02691:  ^ state is: HOST STATE: block=0, task=0, rescue=0, always=0, run_state=ITERATING_SETUP, fail_state=FAILED_NONE, pending_setup=True, tasks child state? (None), rescue child state? (None), always child state? (None), did rescue? False, did start at task? False
 
11288 1520361533.02713: done advancing hosts to next task
 
11288 1520361533.04001: getting variables
 
11288 1520361533.04030: in VariableManager get_vars()
 
11288 1520361533.04150: Loading FilterModule 'core' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/core.py (found_in_cache=True, class_only=False)
 
11288 1520361533.04180: Loading FilterModule 'ipaddr' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/ipaddr.py (found_in_cache=True, class_only=False)
 
11288 1520361533.04204: Loading FilterModule 'json_query' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/json_query.py (found_in_cache=True, class_only=False)
 
11288 1520361533.04228: Loading FilterModule 'mathstuff' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/mathstuff.py (found_in_cache=True, class_only=False)
 
11288 1520361533.04256: Loading FilterModule 'network' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/network.py (found_in_cache=True, class_only=False)
 
11288 1520361533.04281: Loading FilterModule 'urlsplit' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/urlsplit.py (found_in_cache=True, class_only=False)
 
11288 1520361533.04342: Loading TestModule 'core' from /usr/lib/python2.7/site-packages/ansible/plugins/test/core.py (found_in_cache=True, class_only=False)
 
11288 1520361533.04368: Loading TestModule 'files' from /usr/lib/python2.7/site-packages/ansible/plugins/test/files.py (found_in_cache=True, class_only=False)
 
11288 1520361533.04392: Loading TestModule 'mathstuff' from /usr/lib/python2.7/site-packages/ansible/plugins/test/mathstuff.py (found_in_cache=True, class_only=False)
 
11288 1520361533.04602: Calling all_inventory to load vars for 10.128.252.4
 
11288 1520361533.04637: Calling groups_inventory to load vars for 10.128.252.4
 
11288 1520361533.04663: Calling all_plugins_inventory to load vars for 10.128.252.4
 
11288 1520361533.04828: Loading VarsModule 'host_group_vars' from /usr/lib/python2.7/site-packages/ansible/plugins/vars/host_group_vars.py
 
11288 1520361533.04879: Calling all_plugins_play to load vars for 10.128.252.4
 
11288 1520361533.04924: Loading VarsModule 'host_group_vars' from /usr/lib/python2.7/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
 
11288 1520361533.04968: Calling groups_plugins_inventory to load vars for 10.128.252.4
 
11288 1520361533.05015: Loading VarsModule 'host_group_vars' from /usr/lib/python2.7/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
 
11288 1520361533.05060: Calling groups_plugins_play to load vars for 10.128.252.4
 
11288 1520361533.05103: Loading VarsModule 'host_group_vars' from /usr/lib/python2.7/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
 
11288 1520361533.05175: Loading VarsModule 'host_group_vars' from /usr/lib/python2.7/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
 
11288 1520361533.05242: Loading VarsModule 'host_group_vars' from /usr/lib/python2.7/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
 
11288 1520361533.05307: done with get_vars()
 
11288 1520361533.05347: done getting variables
 
11288 1520361533.05371: sending task start callback, copying the task so we can template it temporarily
 
11288 1520361533.05395: done copying, going to template now
 
11288 1520361533.05420: done templating
 
11288 1520361533.05444: here goes the callback...

TASK
[Gathering Facts] *************************************************************************************************
 
11288 1520361533.05494: sending task start callback
 
11288 1520361533.05516: entering _queue_task() for 10.128.252.4/setup
 
11288 1520361533.05737: worker is 1 (out of 1 available)
 
11288 1520361533.05930: exiting _queue_task() for 10.128.252.4/setup
 
11288 1520361533.06061: done queuing things up, now waiting for results queue to drain
 
11288 1520361533.06090: waiting for pending results...
 
11298 1520361533.06512: running TaskExecutor() for 10.128.252.4/TASK: Gathering Facts
 
11298 1520361533.06688: in run() - task 0050569e-07d3-66e1-bc39-00000000000d
 
11298 1520361533.06817: calling self._execute()
 
11298 1520361533.08091: Loading Connection 'local' from /usr/lib/python2.7/site-packages/ansible/plugins/connection/local.py
 
11298 1520361533.08259: Loading ShellModule 'csh' from /usr/lib/python2.7/site-packages/ansible/plugins/shell/csh.py
 
11298 1520361533.08380: Loading ShellModule 'fish' from /usr/lib/python2.7/site-packages/ansible/plugins/shell/fish.py
 
11298 1520361533.08410: Loading ShellModule 'powershell' from /usr/lib/python2.7/site-packages/ansible/plugins/shell/powershell.py
 
11298 1520361533.08443: Loading ShellModule 'sh' from /usr/lib/python2.7/site-packages/ansible/plugins/shell/sh.py
 
11298 1520361533.08521: Loading ShellModule 'sh' from /usr/lib/python2.7/site-packages/ansible/plugins/shell/sh.py (found_in_cache=True, class_only=False)
 
11298 1520361533.08995: assigned :doc
 
11298 1520361533.09096: Loading ActionModule 'normal' from /usr/lib/python2.7/site-packages/ansible/plugins/action/normal.py
 
11298 1520361533.09127: starting attempt loop
 
11298 1520361533.09154: running the handler
 
11298 1520361533.09243: ANSIBALLZ: Using lock for setup
 
11298 1520361533.09269: ANSIBALLZ: Acquiring lock
 
11298 1520361533.09293: ANSIBALLZ: Lock acquired: 38222032
 
11298 1520361533.09318: ANSIBALLZ: Creating module
 
11298 1520361533.57438: ANSIBALLZ: Writing module
 
11298 1520361533.57503: ANSIBALLZ: Renaming module
 
11298 1520361533.57529: ANSIBALLZ: Done creating module
 
11298 1520361533.57685: _low_level_execute_command(): starting
 
11298 1520361533.57711: _low_level_execute_command(): executing: /bin/sh -c 'echo ~ && sleep 0'
 
11298 1520361533.57745: in local.exec_command()
 
11298 1520361533.57768: opening command with Popen()
 
11298 1520361533.58729: done running command with Popen()
 
11298 1520361533.58829: getting output with communicate()
 
11298 1520361533.59030: done communicating
 
11298 1520361533.59059: done with local.exec_command()
 
11298 1520361533.59097: _low_level_execute_command() done: rc=0, stdout=/root
, stderr=
 11298 1520361533.59141: _low_level_execute_command(): starting
 11298 1520361533.59174: _low_level_execute_command(): executing: /
bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1520361533.58-87417170864405 `" && echo ansible-tmp-1520361533.58-87417170864405="` echo /root/.ansible/tmp/ansible-tmp-1520361533.58-87417170864405 `" ) && sleep 0'
 
11298 1520361533.59205: in local.exec_command()
 
11298 1520361533.59232: opening command with Popen()
 
11298 1520361533.60041: done running command with Popen()
 
11298 1520361533.60136: getting output with communicate()
 
11298 1520361533.60828: done communicating
 
11298 1520361533.60859: done with local.exec_command()
 
11298 1520361533.60896: _low_level_execute_command() done: rc=0, stdout=ansible-tmp-1520361533.58-87417170864405=/root/.ansible/tmp/ansible-tmp-1520361533.58-87417170864405
, stderr=
 
11298 1520361533.60939: transferring module to remote /root/.ansible/tmp/ansible-tmp-1520361533.58-87417170864405/setup.py
 
11298 1520361533.61121: done transferring module to remote
 
11298 1520361533.61174: _low_level_execute_command(): starting
 
11298 1520361533.61204: _low_level_execute_command(): executing: /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1520361533.58-87417170864405/ /root/.ansible/tmp/ansible-tmp-1520361533.58-87417170864405/setup.py && sleep 0'
 
11298 1520361533.61232: in local.exec_command()
 
11298 1520361533.61260: opening command with Popen()
 
11298 1520361533.62416: done running command with Popen()
 
11298 1520361533.62521: getting output with communicate()
 
11298 1520361533.62860: done communicating
 
11298 1520361533.62887: done with local.exec_command()
 
11298 1520361533.62924: _low_level_execute_command() done: rc=0, stdout=, stderr=
 
11298 1520361533.62959: _low_level_execute_command(): starting
 
11298 1520361533.62997: _low_level_execute_command(): executing: /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1520361533.58-87417170864405/setup.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1520361533.58-87417170864405/" > /dev/null 2>&1 && sleep 0'
 
11298 1520361533.63028: in local.exec_command()
 
11298 1520361533.63059: opening command with Popen()
 
11298 1520361533.63868: done running command with Popen()
 
11298 1520361533.63965: getting output with communicate()
 
11298 1520361534.18263: done communicating
 
11298 1520361534.18304: done with local.exec_command()
 
11298 1520361534.18371: _low_level_execute_command() done: rc=0, stdout=
{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_product_serial": "VMware-42 1e d0 94 7a db 2e 5c-ab 09 a7 27 6f fe c6 a5", "ansible_form_factor": "Other", "ansible_distribution_file_parsed": true, "ansible_fips": false, "ansible_service_mgr": "systemd", "ansible_user_id": "root", "ansible_selinux_python_present": true, "ansible_userspace_bits": "64", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAACAQDN8nzrlSs0diW/P8mDufWIVa8nlMOqPdPnI5hTixIz9aEgMnYdLgfxBREwOdhLItk3AWBOQgeBW90uoBECuVn9Hj95Jw/OmlX6jw6/7OMiKj6USeLd7RzRln/j1Wu62HCn6X5BFv59UpR6nWI1FA2Jn3uVeesm2QOtuDdSoslW8tFttgLAyKD56UGRQ33plDzl2MBnt2whAXAZ6LKsVfa+kA5CjunmOMVaetpHDGqwHwRvjM3sXyIL2b3jYeQ9Z7fQ7YBY0squj3hziPYM7T7Od2PAh3yR1u4AKFPZze6Bm7eoCQgHF7+AMnO6zrWcB+TVdujTrGzhwD0qb4cLR2f5chDVUstg3Q2Imnu6LymwkX3xfc8JBcmAeN7aSMxUGD/KU4IhaZ+qHXxMiEgDXbUQvu2NDvrWw4M6Fo/VbRc2g3OOususEP128MmUkl/7IYGVTeX1c0YajJE6pWmnhrzyrP2zpJ1A450h9zZGMxVARa+g2acdGV2guOt3PGLpSDWCw6RVchYdWZvD1bGsNjI9lsx+CgOR9BVLpTpg7VdMHLiGCzb3BDh94sBNKIwK8rapaIaUywpi9nPDKtjd+XIQfpfShX58o90EP3fRCqffAHeZvd6qtm8KSMgbEb9Ro62fAk1Q5UABD+ck68o3S0S/wEAs2BzgI4i3BehLx8UJSw==", "gather_subset": ["all"], "ansible_real_user_id": 0, "ansible_architecture": "x86_64", "ansible_local": {}, "ansible_distribution_version": "7.4.1708", "ansible_domain": "edisonlearning.com", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_user_shell": "/bin/bash", "ansible_date_time": {"weekday_number": "2", "iso8601_basic_short": "20180306T133853", "tz": "EST", "weeknumber": "10", "hour": "13", "year": "2018", "minute": "38", "tz_offset": "-0500", "month": "03", "epoch": "1520361533", "iso8601_micro": "2018-03-06T18:38:53.891189Z", "weekday": "Tuesday", "time": "13:38:53", "date": "2018-03-06", "iso8601": "2018-03-06T18:38:53Z", "day": "06", "iso8601_basic": "20180306T133853891028", "second": "53"}, "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIBz2gwTMsC6eB7PLUJ3SYDBQkc5p3Y/aQ7LptbexJza2", "ansible_processor_cores": 1, "ansible_virtualization_role": "guest", "ansible_distribution_file_variety": "RedHat", "ansible_env": {"HISTTIMEFORMAT": ": %Y-%m-%d_%H:%M:%S; ", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "SSH_CLIENT": "10.128.100.214 46270 22", "LOGNAME": "root", "USER": "root", "PROMPT_COMMAND": "history -a; history -n; printf \"\\033]0;%s@%s:%s\\007\" \"${USER}\" \"${HOSTNAME%%.*}\" \"${PWD/#$HOME/~}\"", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin", "HOME": "/root", "LANG": "en_US.UTF-8", "IGNOREEOF": "1", "TERM": "xterm-256color", "SHELL": "/bin/bash", "ANSIBLE_LOG_PATH": "/root/ansible_debug.log", "SHLVL": "3", "HISTSIZE": "100000", "HISTFILESIZE": "100000", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_ID": "143", "_": "/usr/bin/python", "ANSIBLE_DEBUG": "True", "LS_COLORS": "rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:", "SSH_TTY": "/dev/pts/1", "HOSTNAME": "hq001orc01.edisonlearning.com", "HISTCONTROL": "ignoredups", "PWD": "/root", "MAIL": "/var/spool/mail/root", "SSH_CONNECTION": "10.128.100.214 46270 10.128.102.19 22"}, "ansible_effective_group_id": 0, "ansible_docker0": {"macaddress": "02:42:38:23:98:5b", "features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on", "rx_all": "off [fixed]", "highdma": "on", "rx_fcs": "off [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "tx_tcp6_segmentation": "on", "tx_gso_robust": "on", "tx_ipip_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "on", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "on", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "off [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "on", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "on", "tx_nocache_copy": "off", "tx_mpls_segmentation": "on", "tx_udp_tnl_csum_segmentation": "on", "udp_fragmentation_offload": "on", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "on", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on", "tx_fcoe_segmentation": "on", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "on", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "on"}, "interfaces": [], "id": "8000.02423823985b", "mtu": 1500, "device": "docker0", "promisc": false, "stp": false, "ipv4": {"broadcast": "global", "netmask": "255.255.0.0", "network": "172.17.0.0", "address": "172.17.0.1"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::42:38ff:fe23:985b"}], "active": false, "timestamping": ["rx_software", "software"], "type": "bridge", "hw_timestamp_filters": []}, "ansible_bios_version": "6.00", "ansible_processor": ["0", "GenuineIntel", "Intel(R) Xeon(R) CPU           E5649  @ 2.53GHz"], "ansible_virtualization_type": "VMware", "ansible_lo": {"features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "rx_all": "off [fixed]", "highdma": "on [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "tx_tcp6_segmentation": "on", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "on", "tx_checksumming": "on", "vlan_challenged": "on [fixed]", "loopback": "on [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off [fixed]", "tx_mpls_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "on", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "hw_timestamp_filters": [], "mtu": 65536, "device": "lo", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "host", "netmask": "255.0.0.0", "network": "127.0.0.0", "address": "127.0.0.1"}, "ipv6": [{"scope": "host", "prefix": "128", "address": "::1"}], "active": true, "type": "loopback"}, "ansible_memtotal_mb": 4015, "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAGeZ2cNFWQhmDdVzMrJ7KcX7XiubyhHPpDh8XmHIl3AD29kJByYFWCJFgK21n5YkWZarWJhvEJJFPbCEjYWFv9w1wBYrnos1nhIaB2MO++2Bvdyg3udYczOdAwFjFPk0kE0rhYQMlHrUY6wVOTxlrGd4pk+n/I0voHdY1RqXPxoyZ7eCg==", "ansible_device_links": {"masters": {"dm-6": ["dm-8"], "dm-7": ["dm-8"], "sdb1": ["dm-9"], "sda2": ["dm-0", "dm-1", "dm-2", "dm-3", "dm-4", "dm-5", "dm-6", "dm-7"]}, "labels": {"sda1": ["boot"], "dm-4": ["usrlocal"], "dm-5": ["home"], "dm-2": ["var"], "dm-3": ["tmp"], "dm-0": ["root"], "dm-1": ["swap"]}, "ids": {"sdb1": ["lvm-pv-uuid-Tei3Mz-AjS7-JCAC-6U4o-nnW4-nLqY-aaFKVw"], "sr0": ["ata-VMware_Virtual_IDE_CDROM_Drive_10000000000000000001"], "sda2": ["lvm-pv-uuid-FX0iIM-ZnaD-p4Se-C5qG-d1JC-2VLY-OTDImf"], "dm-9": ["dm-name-vgawx-awx", "dm-uuid-LVM-v6cnEIWZNqyyFo93KhrQFeMlJAW6diS09KZWCvGDhXKdIhFd9GEpgcNYI34ssm0J"], "dm-4": ["dm-name-vg00-usrlocal", "dm-uuid-LVM-3Kdzr0zPACiEv0mtBgZy0j9X4z3O20hhfWy54RXnd1dvSLkep8rUDnagVySdksLM"], "dm-5": ["dm-name-vg00-home", "dm-uuid-LVM-3Kdzr0zPACiEv0mtBgZy0j9X4z3O20hhGPbNurPuoujOnWVzpB4AMaedd6UJ2PUj"], "dm-2": ["dm-name-vg00-var", "dm-uuid-LVM-3Kdzr0zPACiEv0mtBgZy0j9X4z3O20hhQd8SgqIGhkykQ1JXcFYMdAsrN3ahDnvV"], "dm-3": ["dm-name-vg00-tmp", "dm-uuid-LVM-3Kdzr0zPACiEv0mtBgZy0j9X4z3O20hhUB2HDcPN6iAIJP00QoP89RUDlV8TRIO5"], "dm-0": ["dm-name-vg00-root", "dm-uuid-LVM-3Kdzr0zPACiEv0mtBgZy0j9X4z3O20hhhiHAsMBOTmVRQutgjcEWezryE7SfCuEw"], "dm-1": ["dm-name-vg00-swap", "dm-uuid-LVM-3Kdzr0zPACiEv0mtBgZy0j9X4z3O20hhveZuVInn0lik3akQnNBeOWtBU0Tuwetk"]}, "uuids": {"sda1": ["80568c7a-7f00-420c-8feb-bc0da3b6d078"], "dm-9": ["217de002-b94c-4d9d-8bb4-f1f9f1fede3e"], "dm-4": ["e3387cb3-bbae-4458-8092-19e994aa6f47"], "dm-5": ["7bde6bcc-8b56-441d-8e74-4b04d8a395a5"], "dm-2": ["5071877f-c66f-4d6d-b03b-250d24fe1d9b"], "dm-3": ["6ce5e206-5770-4dff-9fac-868cd8a9b01b"], "dm-0": ["086e0a3b-5979-4f98-9cd5-6258b4190ab2"], "dm-1": ["1ddcfab0-d31e-4fb4-955d-34b9c7122b87"]}}, "ansible_default_ipv4": {"macaddress": "00:50:56:9e:07:d3", "network": "10.128.102.0", "mtu": 1500, "broadcast": "10.128.102.255", "alias": "eth0", "netmask": "255.255.255.0", "address": "10.128.102.19", "interface": "eth0", "type": "ether", "gateway": "10.128.102.1"}, "ansible_swapfree_mb": 4495, "ansible_default_ipv6": {}, "ansible_distribution_release": "Core", "ansible_system_vendor": "VMware, Inc.", "ansible_apparmor": {"status": "disabled"}, "ansible_cmdline": {"LANG": "en_US.UTF-8", "BOOT_IMAGE": "/vmlinuz-3.10.0-693.17.1.el7.x86_64", "net.ifnames": "0", "rd.lvm.lv": "vg00/swap", "crashkernel": "auto", "biosdevname": "0", "ro": true, "root": "/dev/mapper/vg00-root"}, "ansible_effective_user_id": 0, "ansible_user_gid": 0, "ansible_selinux": {"status": "disabled"}, "ansible_product_version": "None", "ansible_os_family": "RedHat", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "421ED094-7ADB-2E5C-AB09-A7276FFEC6A5", "ansible_system": "Linux", "ansible_pkg_mgr": "yum", "ansible_memfree_mb": 3231, "ansible_devices": {"dm-8": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "10297344", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "4.91 GB"}, "fd0": {"scheduler_mode": "deadline", "rotational": "1", "vendor": null, "sectors": "8", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "1", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "4.00 KB"}, "sr0": {"scheduler_mode": "cfq", "rotational": "1", "vendor": "NECVMWar", "sectors": "2097151", "links": {"masters": [], "labels": [], "ids": ["ata-VMware_Virtual_IDE_CDROM_Drive_10000000000000000001"], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)", "sectorsize": "512", "removable": "1", "support_discard": "0", "model": "VMware IDE CDR10", "partitions": {}, "holders": [], "size": "1024.00 MB"}, "sda": {"scheduler_mode": "deadline", "rotational": "1", "vendor": "VMware", "sectors": "62914560", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS1068 PCI-X Fusion-MPT SAS (rev 01)", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": "Virtual disk", "partitions": {"sda2": {"sectorsize": 512, "uuid": null, "links": {"masters": ["dm-0", "dm-1", "dm-2", "dm-3", "dm-4", "dm-5", "dm-6", "dm-7"], "labels": [], "ids": ["lvm-pv-uuid-FX0iIM-ZnaD-p4Se-C5qG-d1JC-2VLY-OTDImf"], "uuids": []}, "sectors": "60610560", "start": "2304000", "holders": ["vg00-root", "vg00-swap", "vg00-var", "vg00-tmp", "vg00-usrlocal", "vg00-home", "vg00-docker--pool_tmeta", "vg00-docker--pool_tdata"], "size": "28.90 GB"}, "sda1": {"sectorsize": 512, "uuid": "80568c7a-7f00-420c-8feb-bc0da3b6d078", "links": {"masters": [], "labels": ["boot"], "ids": [], "uuids": ["80568c7a-7f00-420c-8feb-bc0da3b6d078"]}, "sectors": "2301952", "start": "2048", "holders": [], "size": "1.10 GB"}}, "holders": [], "size": "30.00 GB"}, "sdb": {"scheduler_mode": "deadline", "rotational": "1", "vendor": "VMware", "sectors": "52428800", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS1068 PCI-X Fusion-MPT SAS (rev 01)", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": "Virtual disk", "partitions": {"sdb1": {"sectorsize": 512, "uuid": null, "links": {"masters": ["dm-9"], "labels": [], "ids": ["lvm-pv-uuid-Tei3Mz-AjS7-JCAC-6U4o-nnW4-nLqY-aaFKVw"], "uuids": []}, "sectors": "52426752", "start": "2048", "holders": ["vgawx-awx"], "size": "25.00 GB"}}, "holders": [], "size": "25.00 GB"}, "dm-9": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "52420608", "links": {"masters": [], "labels": [], "ids": ["dm-name-vgawx-awx", "dm-uuid-LVM-v6cnEIWZNqyyFo93KhrQFeMlJAW6diS09KZWCvGDhXKdIhFd9GEpgcNYI34ssm0J"], "uuids": ["217de002-b94c-4d9d-8bb4-f1f9f1fede3e"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "25.00 GB"}, "dm-6": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "65536", "links": {"masters": ["dm-8"], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": ["vg00-docker--pool"], "size": "32.00 MB"}, "dm-7": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "10297344", "links": {"masters": ["dm-8"], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": ["vg00-docker--pool"], "size": "4.91 GB"}, "dm-4": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "4603904", "links": {"masters": [], "labels": ["usrlocal"], "ids": ["dm-name-vg00-usrlocal", "dm-uuid-LVM-3Kdzr0zPACiEv0mtBgZy0j9X4z3O20hhfWy54RXnd1dvSLkep8rUDnagVySdksLM"], "uuids": ["e3387cb3-bbae-4458-8092-19e994aa6f47"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "2.20 GB"}, "dm-5": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "2301952", "links": {"masters": [], "labels": ["home"], "ids": ["dm-name-vg00-home", "dm-uuid-LVM-3Kdzr0zPACiEv0mtBgZy0j9X4z3O20hhGPbNurPuoujOnWVzpB4AMaedd6UJ2PUj"], "uuids": ["7bde6bcc-8b56-441d-8e74-4b04d8a395a5"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "1.10 GB"}, "dm-2": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "4603904", "links": {"masters": [], "labels": ["var"], "ids": ["dm-name-vg00-var", "dm-uuid-LVM-3Kdzr0zPACiEv0mtBgZy0j9X4z3O20hhQd8SgqIGhkykQ1JXcFYMdAsrN3ahDnvV"], "uuids": ["5071877f-c66f-4d6d-b03b-250d24fe1d9b"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "2.20 GB"}, "dm-3": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "4603904", "links": {"masters": [], "labels": ["tmp"], "ids": ["dm-name-vg00-tmp", "dm-uuid-LVM-3Kdzr0zPACiEv0mtBgZy0j9X4z3O20hhUB2HDcPN6iAIJP00QoP89RUDlV8TRIO5"], "uuids": ["6ce5e206-5770-4dff-9fac-868cd8a9b01b"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "2.20 GB"}, "dm-0": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "9207808", "links": {"masters": [], "labels": ["root"], "ids": ["dm-name-vg00-root", "dm-uuid-LVM-3Kdzr0zPACiEv0mtBgZy0j9X4z3O20hhhiHAsMBOTmVRQutgjcEWezryE7SfCuEw"], "uuids": ["086e0a3b-5979-4f98-9cd5-6258b4190ab2"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "4.39 GB"}, "dm-1": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "9207808", "links": {"masters": [], "labels": ["swap"], "ids": ["dm-name-vg00-swap", "dm-uuid-LVM-3Kdzr0zPACiEv0mtBgZy0j9X4z3O20hhveZuVInn0lik3akQnNBeOWtBU0Tuwetk"], "uuids": ["1ddcfab0-d31e-4fb4-955d-34b9c7122b87"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "4.39 GB"}}, "ansible_user_uid": 0, "ansible_lvm": {"pvs": {"/dev/sdb1": {"free_g": "0", "size_g": "25.00", "vg": "vgawx"}, "/dev/sda2": {"free_g": "7.46", "size_g": "28.90", "vg": "vg00"}}, "lvs": {"tmp": {"size_g": "2.20", "vg": "vg00"}, "awx": {"size_g": "25.00", "vg": "vgawx"}, "usrlocal": {"size_g": "2.20", "vg": "vg00"}, "docker-pool": {"size_g": "4.91", "vg": "vg00"}, "swap": {"size_g": "4.39", "vg": "vg00"}, "var": {"size_g": "2.20", "vg": "vg00"}, "home": {"size_g": "1.10", "vg": "vg00"}, "root": {"size_g": "4.39", "vg": "vg00"}}, "vgs": {"vg00": {"free_g": "7.46", "size_g": "28.90", "num_lvs": "7", "num_pvs": "1"}, "vgawx": {"free_g": "0", "size_g": "25.00", "num_lvs": "1", "num_pvs": "1"}}}, "ansible_distribution": "CentOS", "ansible_user_dir": "/root", "ansible_dns": {"nameservers": ["10.128.100.101", "10.128.100.102", "10.128.100.103"], "search": ["edisonlearning.com", "edisonschools.net", "provostacademy.com"]}, "ansible_distribution_major_version": "7", "module_setup": true, "ansible_processor_count": 1, "ansible_hostname": "hq001orc01", "ansible_processor_vcpus": 1, "ansible_swaptotal_mb": 4495, "ansible_lsb": {}, "ansible_real_group_id": 0, "ansible_bios_date": "06/22/2012", "ansible_all_ipv6_addresses": ["fe80::42:38ff:fe23:985b", "fe80::250:56ff:fe9e:7d3"], "ansible_interfaces": ["lo", "docker0", "eth0"], "ansible_uptime_seconds": 444046, "ansible_machine_id": "3ef3d4ac3b6148668942e80b22787f82", "ansible_kernel": "3.10.0-693.17.1.el7.x86_64", "ansible_memory_mb": {"real": {"total": 4015, "used": 784, "free": 3231}, "swap": {"cached": 0, "total": 4495, "free": 4495, "used": 0}, "nocache": {"used": 339, "free": 3676}}, "ansible_user_gecos": "root", "ansible_system_capabilities_enforced": "True", "ansible_python": {"executable": "/usr/bin/python", "version": {"micro": 5, "major": 2, "releaselevel": "final", "serial": 0, "minor": 7}, "type": "CPython", "has_sslcontext": true, "version_info": [2, 7, 5, "final", 0]}, "ansible_processor_threads_per_core": 1, "ansible_fqdn": "hq001orc01.edisonlearning.com", "ansible_mounts": [{"block_used": 442570, "uuid": "086e0a3b-5979-4f98-9cd5-6258b4190ab2", "size_total": 4703911936, "block_total": 1148416, "mount": "/", "block_available": 705846, "size_available": 2891145216, "fstype": "xfs", "inode_total": 2301952, "options": "rw,relatime,attr2,inode64,noquota", "device": "/dev/mapper/vg00-root", "inode_used": 54989, "block_size": 4096, "inode_available": 2246963}, {"block_used": 67557, "uuid": "5071877f-c66f-4d6d-b03b-250d24fe1d9b", "size_total": 2346713088, "block_total": 572928, "mount": "/var", "block_available": 505371, "size_available": 2069999616, "fstype": "xfs", "inode_total": 1150976, "options": "rw,relatime,attr2,inode64,noquota", "device": "/dev/mapper/vg00-var", "inode_used": 2784, "block_size": 4096, "inode_available": 1148192}, {"block_used": 8309, "uuid": "6ce5e206-5770-4dff-9fac-868cd8a9b01b", "size_total": 2346713088, "block_total": 572928, "mount": "/tmp", "block_available": 564619, "size_available": 2312679424, "fstype": "xfs", "inode_total": 1150976, "options": "rw,relatime,attr2,inode64,noquota", "device": "/dev/mapper/vg00-tmp", "inode_used": 24, "block_size": 4096, "inode_available": 1150952}, {"block_used": 8260, "uuid": "e3387cb3-bbae-4458-8092-19e994aa6f47", "size_total": 2346713088, "block_total": 572928, "mount": "/usr/local", "block_available": 564668, "size_available": 2312880128, "fstype": "xfs", "inode_total": 1150976, "options": "rw,relatime,attr2,inode64,noquota", "device": "/dev/mapper/vg00-usrlocal", "inode_used": 35, "block_size": 4096, "inode_available": 1150941}, {"block_used": 8249, "uuid": "7bde6bcc-8b56-441d-8e74-4b04d8a395a5", "size_total": 1168113664, "block_total": 285184, "mount": "/home", "block_available": 276935, "size_available": 1134325760, "fstype": "xfs", "inode_total": 575488, "options": "rw,relatime,attr2,inode64,noquota", "device": "/dev/mapper/vg00-home", "inode_used": 10, "block_size": 4096, "inode_available": 575478}, {"block_used": 72164, "uuid": "80568c7a-7f00-420c-8feb-bc0da3b6d078", "size_total": 1168113664, "block_total": 285184, "mount": "/boot", "block_available": 213020, "size_available": 872529920, "fstype": "xfs", "inode_total": 575488, "options": "rw,relatime,attr2,inode64,noquota", "device": "/dev/sda1", "inode_used": 349, "block_size": 4096, "inode_available": 575139}, {"block_used": 8236, "uuid": "217de002-b94c-4d9d-8bb4-f1f9f1fede3e", "size_total": 26826248192, "block_total": 6549377, "mount": "/var/lib/postgresql/data", "block_available": 6541141, "size_available": 26792513536, "fstype": "xfs", "inode_total": 13105152, "options": "rw,relatime,attr2,inode64,noquota", "device": "/dev/mapper/vgawx-awx", "inode_used": 3, "block_size": 4096, "inode_available": 13105149}], "ansible_eth0": {"macaddress": "00:50:56:9e:07:d3", "features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off", "highdma": "off [fixed]", "rx_fcs": "off", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp6_segmentation": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "off", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "on", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_mpls_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "on [fixed]", "tx_vlan_offload": "on [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "type": "ether", "pciid": "0000:02:00.0", "module": "e1000", "mtu": 1500, "device": "eth0", "promisc": false, "timestamping": ["tx_software", "rx_software", "software"], "ipv4": {"broadcast": "10.128.102.255", "netmask": "255.255.255.0", "network": "10.128.102.0", "address": "10.128.102.19"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::250:56ff:fe9e:7d3"}], "active": true, "speed": 1000, "hw_timestamp_filters": []}, "ansible_nodename": "hq001orc01.edisonlearning.com", "ansible_product_name": "VMware Virtual Platform", "ansible_machine": "x86_64", "ansible_system_capabilities": ["cap_chown", "cap_dac_override", "cap_dac_read_search", "cap_fowner", "cap_fsetid", "cap_kill", "cap_setgid", "cap_setuid", "cap_setpcap", "cap_linux_immutable", "cap_net_bind_service", "cap_net_broadcast", "cap_net_admin", "cap_net_raw", "cap_ipc_lock", "cap_ipc_owner", "cap_sys_module", "cap_sys_rawio", "cap_sys_chroot", "cap_sys_ptrace", "cap_sys_pacct", "cap_sys_admin", "cap_sys_boot", "cap_sys_nice", "cap_sys_resource", "cap_sys_time", "cap_sys_tty_config", "cap_mknod", "cap_lease", "cap_audit_write", "cap_audit_control", "cap_setfcap", "cap_mac_override", "cap_mac_admin", "cap_syslog", "35", "36+ep"], "ansible_all_ipv4_addresses": ["172.17.0.1", "10.128.102.19"], "ansible_python_version": "2.7.5"}}
, stderr=
 
11298 1520361534.19936: done with _execute_module (setup, {'_ansible_version': '2.4.2.0', '_ansible_selinux_special_fs': ['fuse', 'nfs', 'vboxsf', 'ramfs', '9p'], '_ansible_no_log': False, 'gather_timeout': 10, '_ansible_module_name': u'setup', '_ansible_verbosity': 0, '_ansible_syslog_facility': u'LOG_USER', '_ansible_socket': None, 'gather_subset': u'all', '_ansible_diff': False, '_ansible_debug': True, '_ansible_shell_executable': u'/bin/sh', '_ansible_check_mode': False})
 
11298 1520361534.19977: handler run complete
 
11298 1520361534.20012: attempt loop complete, returning result
 
11298 1520361534.20041: _execute() done
 
11298 1520361534.20065: dumping result to json
 
11298 1520361534.20288: done dumping result, returning
 
11298 1520361534.20324: done running TaskExecutor() for 10.128.252.4/TASK: Gathering Facts [0050569e-07d3-66e1-bc39-00000000000d]
 
11298 1520361534.20375: sending task result for task 0050569e-07d3-66e1-bc39-00000000000d
 
11298 1520361534.20484: done sending task result for task 0050569e-07d3-66e1-bc39-00000000000d
 
11298 1520361534.20509: WORKER PROCESS EXITING
ok
: [10.128.252.4]
 
11288 1520361534.24813: no more pending results, returning what we have
 
11288 1520361534.24844: results queue empty
 
11288 1520361534.24866: checking for any_errors_fatal
 
11288 1520361534.24887: done checking for any_errors_fatal
 
11288 1520361534.24909: checking for max_fail_percentage
 
11288 1520361534.24930: done checking for max_fail_percentage
 
11288 1520361534.24956: checking to see if all hosts have failed and the running result is not ok
 
11288 1520361534.24977: done checking to see if all hosts have failed
 
11288 1520361534.24998: getting the remaining hosts for this loop
 
11288 1520361534.25029: done getting the remaining hosts for this loop
 
11288 1520361534.25059: building list of next tasks for hosts
 
11288 1520361534.25081: getting the next task for host 10.128.252.4
 
11288 1520361534.25109: done getting next task for host 10.128.252.4
 
11288 1520361534.25138:  ^ task is: TASK: meta (flush_handlers)
 
11288 1520361534.25162:  ^ state is: HOST STATE: block=1, task=1, rescue=0, always=0, run_state=ITERATING_TASKS, fail_state=FAILED_NONE, pending_setup=False, tasks child state? (None), rescue child state? (None), always child state? (None), did rescue? False, did start at task? False
 
11288 1520361534.25184: done building task lists
 
11288 1520361534.25205: counting tasks in each state of execution
 
11288 1520361534.25230: done counting tasks in each state of execution:
        num_setups
: 0
        num_tasks
: 1
        num_rescue
: 0
        num_always
: 0
 
11288 1520361534.25256: advancing hosts in ITERATING_TASKS
 
11288 1520361534.25277: starting to advance hosts
 
11288 1520361534.25299: getting the next task for host 10.128.252.4
 
11288 1520361534.25324: done getting next task for host 10.128.252.4
 
11288 1520361534.25351:  ^ task is: TASK: meta (flush_handlers)
 
11288 1520361534.25372:  ^ state is: HOST STATE: block=1, task=1, rescue=0, always=0, run_state=ITERATING_TASKS, fail_state=FAILED_NONE, pending_setup=False, tasks child state? (None), rescue child state? (None), always child state? (None), did rescue? False, did start at task? False
 
11288 1520361534.25394: done advancing hosts to next task
 
11288 1520361534.25453: done queuing things up, now waiting for results queue to drain
 
11288 1520361534.25477: results queue empty
 
11288 1520361534.25498: checking for any_errors_fatal
 
11288 1520361534.25520: done checking for any_errors_fatal
 
11288 1520361534.25546: checking for max_fail_percentage
 
11288 1520361534.25572: done checking for max_fail_percentage
 
11288 1520361534.25599: checking to see if all hosts have failed and the running result is not ok
 
11288 1520361534.25620: done checking to see if all hosts have failed
 
11288 1520361534.25645: getting the remaining hosts for this loop
 
11288 1520361534.25668: done getting the remaining hosts for this loop
 
11288 1520361534.25693: building list of next tasks for hosts
 
11288 1520361534.25715: getting the next task for host 10.128.252.4
 
11288 1520361534.25744: done getting next task for host 10.128.252.4
 
11288 1520361534.25769:  ^ task is: TASK: ios_facts
 
11288 1520361534.25793:  ^ state is: HOST STATE: block=2, task=1, rescue=0, always=0, run_state=ITERATING_TASKS, fail_state=FAILED_NONE, pending_setup=False, tasks child state? (None), rescue child state? (None), always child state? (None), did rescue? False, did start at task? False
 
11288 1520361534.25815: done building task lists
 
11288 1520361534.25837: counting tasks in each state of execution
 
11288 1520361534.25860: done counting tasks in each state of execution:
        num_setups
: 0
        num_tasks
: 1
        num_rescue
: 0
        num_always
: 0
 
11288 1520361534.25883: advancing hosts in ITERATING_TASKS
 
11288 1520361534.25904: starting to advance hosts
 
11288 1520361534.25925: getting the next task for host 10.128.252.4
 
11288 1520361534.25953: done getting next task for host 10.128.252.4
 
11288 1520361534.25977:  ^ task is: TASK: ios_facts
 
11288 1520361534.25999:  ^ state is: HOST STATE: block=2, task=1, rescue=0, always=0, run_state=ITERATING_TASKS, fail_state=FAILED_NONE, pending_setup=False, tasks child state? (None), rescue child state? (None), always child state? (None), did rescue? False, did start at task? False
 
11288 1520361534.26021: done advancing hosts to next task
 
11288 1520361534.26055: getting variables
 
11288 1520361534.26077: in VariableManager get_vars()
 
11288 1520361534.26188: Loading FilterModule 'core' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/core.py (found_in_cache=True, class_only=False)
 
11288 1520361534.26215: Loading FilterModule 'ipaddr' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/ipaddr.py (found_in_cache=True, class_only=False)
 
11288 1520361534.26244: Loading FilterModule 'json_query' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/json_query.py (found_in_cache=True, class_only=False)
 
11288 1520361534.26269: Loading FilterModule 'mathstuff' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/mathstuff.py (found_in_cache=True, class_only=False)
 
11288 1520361534.26294: Loading FilterModule 'network' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/network.py (found_in_cache=True, class_only=False)
 
11288 1520361534.26318: Loading FilterModule 'urlsplit' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/urlsplit.py (found_in_cache=True, class_only=False)
 
11288 1520361534.26388: Loading TestModule 'core' from /usr/lib/python2.7/site-packages/ansible/plugins/test/core.py (found_in_cache=True, class_only=False)
 
11288 1520361534.26414: Loading TestModule 'files' from /usr/lib/python2.7/site-packages/ansible/plugins/test/files.py (found_in_cache=True, class_only=False)
 
11288 1520361534.26441: Loading TestModule 'mathstuff' from /usr/lib/python2.7/site-packages/ansible/plugins/test/mathstuff.py (found_in_cache=True, class_only=False)
 
11288 1520361534.26640: Calling all_inventory to load vars for 10.128.252.4
 
11288 1520361534.26683: Calling groups_inventory to load vars for 10.128.252.4
 
11288 1520361534.26722: Calling all_plugins_inventory to load vars for 10.128.252.4
 
11288 1520361534.26777: Loading VarsModule 'host_group_vars' from /usr/lib/python2.7/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
 
11288 1520361534.26826: Calling all_plugins_play to load vars for 10.128.252.4
 
11288 1520361534.26875: Loading VarsModule 'host_group_vars' from /usr/lib/python2.7/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
 
11288 1520361534.26915: Calling groups_plugins_inventory to load vars for 10.128.252.4
 
11288 1520361534.26966: Loading VarsModule 'host_group_vars' from /usr/lib/python2.7/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
 
11288 1520361534.27010: Calling groups_plugins_play to load vars for 10.128.252.4
 
11288 1520361534.27057: Loading VarsModule 'host_group_vars' from /usr/lib/python2.7/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
 
11288 1520361534.27126: Loading VarsModule 'host_group_vars' from /usr/lib/python2.7/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
 
11288 1520361534.27193: Loading VarsModule 'host_group_vars' from /usr/lib/python2.7/site-packages/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
 
11288 1520361534.27774: done with get_vars()
 
11288 1520361534.27810: done getting variables
 
11288 1520361534.27837: sending task start callback, copying the task so we can template it temporarily
 
11288 1520361534.27860: done copying, going to template now
 
11288 1520361534.27884: done templating
 
11288 1520361534.27903: here goes the callback...

TASK
[ios_facts] *******************************************************************************************************
 
11288 1520361534.27954: sending task start callback
 
11288 1520361534.27977: entering _queue_task() for 10.128.252.4/ios_facts
 
11288 1520361534.27999: Creating lock for ios_facts
 
11288 1520361534.28196: worker is 1 (out of 1 available)
 
11288 1520361534.28395: exiting _queue_task() for 10.128.252.4/ios_facts
 
11288 1520361534.28583: done queuing things up, now waiting for results queue to drain
 
11288 1520361534.28613: waiting for pending results...
 
11344 1520361534.29063: running TaskExecutor() for 10.128.252.4/TASK: ios_facts
 
11344 1520361534.29240: in run() - task 0050569e-07d3-66e1-bc39-000000000008
 
11344 1520361534.29370: calling self._execute()
 
11344 1520361534.29889: Loading FilterModule 'core' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/core.py (found_in_cache=True, class_only=False)
 
11344 1520361534.29924: Loading FilterModule 'ipaddr' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/ipaddr.py (found_in_cache=True, class_only=False)
 
11344 1520361534.29957: Loading FilterModule 'json_query' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/json_query.py (found_in_cache=True, class_only=False)
 
11344 1520361534.29985: Loading FilterModule 'mathstuff' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/mathstuff.py (found_in_cache=True, class_only=False)
 
11344 1520361534.30011: Loading FilterModule 'network' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/network.py (found_in_cache=True, class_only=False)
 
11344 1520361534.30041: Loading FilterModule 'urlsplit' from /usr/lib/python2.7/site-packages/ansible/plugins/filter/urlsplit.py (found_in_cache=True, class_only=False)
 
11344 1520361534.30133: Loading TestModule 'core' from /usr/lib/python2.7/site-packages/ansible/plugins/test/core.py (found_in_cache=True, class_only=False)
 
11344 1520361534.30162: Loading TestModule 'files' from /usr/lib/python2.7/site-packages/ansible/plugins/test/files.py (found_in_cache=True, class_only=False)
 
11344 1520361534.30185: Loading TestModule 'mathstuff' from /usr/lib/python2.7/site-packages/ansible/plugins/test/mathstuff.py (found_in_cache=True, class_only=False)
 
11344 1520361534.31327: Loading Connection 'local' from /usr/lib/python2.7/site-packages/ansible/plugins/connection/local.py
 
11344 1520361534.31471: Loading ShellModule 'csh' from /usr/lib/python2.7/site-packages/ansible/plugins/shell/csh.py
 
11344 1520361534.31563: Loading ShellModule 'fish' from /usr/lib/python2.7/site-packages/ansible/plugins/shell/fish.py
 
11344 1520361534.31593: Loading ShellModule 'powershell' from /usr/lib/python2.7/site-packages/ansible/plugins/shell/powershell.py
 
11344 1520361534.31618: Loading ShellModule 'sh' from /usr/lib/python2.7/site-packages/ansible/plugins/shell/sh.py
 
11344 1520361534.31689: Loading ShellModule 'sh' from /usr/lib/python2.7/site-packages/ansible/plugins/shell/sh.py (found_in_cache=True, class_only=False)
 
11344 1520361534.32202: assigned :doc
 
11344 1520361534.32416: Loading ActionModule 'ios' from /usr/lib/python2.7/site-packages/ansible/plugins/action/ios.py
 
11344 1520361534.32460: starting attempt loop
 
11344 1520361534.32484: running the handler
 
11344 1520361534.32692: Loading Connection 'persistent' from /usr/lib/python2.7/site-packages/ansible/plugins/connection/persistent.py
 
11344 1520361534.32739: Loading ShellModule 'csh' from /usr/lib/python2.7/site-packages/ansible/plugins/shell/csh.py (found_in_cache=True, class_only=False)
 
11344 1520361534.32765: Loading ShellModule 'fish' from /usr/lib/python2.7/site-packages/ansible/plugins/shell/fish.py (found_in_cache=True, class_only=False)
 
11344 1520361534.32792: Loading ShellModule 'powershell' from /usr/lib/python2.7/site-packages/ansible/plugins/shell/powershell.py (found_in_cache=True, class_only=False)
 
11344 1520361534.32816: Loading ShellModule 'sh' from /usr/lib/python2.7/site-packages/ansible/plugins/shell/sh.py (found_in_cache=True, class_only=False)
 
11344 1520361534.32845: Loading ShellModule 'sh' from /usr/lib/python2.7/site-packages/ansible/plugins/shell/sh.py (found_in_cache=True, class_only=False)
 
11344 1520361534.33005: assigned :doc
 
11344 1520361545.41592: handler run complete
 
11344 1520361545.41692: attempt loop complete, returning result
 
11344 1520361545.41728: _execute() done
 
11344 1520361545.41755: dumping result to json
 
11344 1520361545.41785: done dumping result, returning
 
11344 1520361545.41829: done running TaskExecutor() for 10.128.252.4/TASK: ios_facts [0050569e-07d3-66e1-bc39-000000000008]
 
11344 1520361545.41876: sending task result for task 0050569e-07d3-66e1-bc39-000000000008
 
11344 1520361545.42057: done sending task result for task 0050569e-07d3-66e1-bc39-000000000008
 
11344 1520361545.42087: WORKER PROCESS EXITING
 
11288 1520361545.42332: marking 10.128.252.4 as failed
 
11288 1520361545.42378: marking host 10.128.252.4 failed, current state: HOST STATE: block=2, task=1, rescue=0, always=0, run_state=ITERATING_TASKS, fail_state=FAILED_NONE, pending_setup=False, tasks child state? (None), rescue child state? (None), always child state? (None), did rescue? False, did start at task? False
 
11288 1520361545.42407: ^ failed state is now: HOST STATE: block=2, task=1, rescue=0, always=0, run_state=ITERATING_COMPLETE, fail_state=FAILED_TASKS, pending_setup=False, tasks child state? (None), rescue child state? (None), always child state? (None), did rescue? False, did start at task? False
 
11288 1520361545.42438: getting the next task for host 10.128.252.4
 
11288 1520361545.42462: host 10.128.252.4 is done iterating, returning
fatal
: [10.128.252.4]: FAILED! => {"changed": false, "msg": "unable to open shell. Please see: https://docs.ansible.com/ansible/network_debug_troubleshooting.html#unable-to-open-shell"}
 
11288 1520361545.42569: no more pending results, returning what we have
 
11288 1520361545.42594: results queue empty
 
11288 1520361545.42613: checking for any_errors_fatal
 
11288 1520361545.42644: done checking for any_errors_fatal
 
11288 1520361545.42666: checking for max_fail_percentage
 
11288 1520361545.42690: done checking for max_fail_percentage
 
11288 1520361545.42712: checking to see if all hosts have failed and the running result is not ok
 
11288 1520361545.42736: done checking to see if all hosts have failed
 
11288 1520361545.42759: getting the remaining hosts for this loop
 
11288 1520361545.42790: done getting the remaining hosts for this loop
 
11288 1520361545.42816: building list of next tasks for hosts
 
11288 1520361545.42842: getting the next task for host 10.128.252.4
 
11288 1520361545.42864: host 10.128.252.4 is done iterating, returning
 
11288 1520361545.42885: done building task lists
 
11288 1520361545.42905: counting tasks in each state of execution
 
11288 1520361545.42937: done counting tasks in each state of execution:
        num_setups
: 0
        num_tasks
: 0
        num_rescue
: 0
        num_always
: 0
 
11288 1520361545.42962: all hosts are done, so returning None's for all hosts
 11288 1520361545.42985: done queuing things up, now waiting for results queue to drain
 11288 1520361545.43007: results queue empty
 11288 1520361545.43028: checking for any_errors_fatal
 11288 1520361545.43053: done checking for any_errors_fatal
 11288 1520361545.43074: checking for max_fail_percentage
 11288 1520361545.43095: done checking for max_fail_percentage
 11288 1520361545.43116: checking to see if all hosts have failed and the running result is not ok
 11288 1520361545.43140: done checking to see if all hosts have failed
 11288 1520361545.43165: getting the next task for host 10.128.252.4
 11288 1520361545.43187: host 10.128.252.4 is done iterating, returning
 11288 1520361545.43210: running handlers
        to retry, use: --limit @/root/gh-ios-ex.retry

PLAY RECAP *************************************************************************************************************
10.128.252.4               : ok=1    changed=0    unreachable=0    failed=1

 11288 1520361545.43700: RUNNING CLEANUP
[root@hq001orc01 ~]#



Otto Nix

unread,
Mar 7, 2018, 10:47:15 AM3/7/18
to Ansible Project
I tried again on a new, clean vm with no luck. Do the ios_ modules work or is something broken in the RHEL/CentOS ansible package? I've tried so many example playbooks and command line one-liners and nothing works for me.
...

Claudia de Luna

unread,
Mar 7, 2018, 1:15:39 PM3/7/18
to Ansible Project
Hi Otto,

What version and model are you trying to gather facts from?

Otto Nix

unread,
Mar 7, 2018, 2:28:29 PM3/7/18
to Ansible Project
Hi Claudia,

Thanks for responding. I think the target hardware was the problem (I should have put that in the original post) , but not sure. It's a Cisco ASA 5540 running 9.1(7)23. I just got this working using the asa_command module (which I didn't know existed). Is there a difference between Cisco IOS on an ASA? I have no idea, I'm the Linux guy, not the Network guy so...

Below is the playbook I used to solve my problem:
---
- hosts: ios_fw
  any_errors_fatal
: True
  gather_facts
: no
  connection
: local

  vars
:
    cli
:
      host
: "{{ inventory_hostname }}"
      username
: ans
      password
: XXxxXXxXxX
#      transport: cli
  tasks
:
   
- asa_command:
        commands
:
         
- show version
        provider
: "{{ cli }}"
     
register: ver

   
- debug: var=ver.stdout_lines



This pretty much gets me what I was looking for although getting to this point drove me pretty crazy for the past few days. I'm new to Ansible but want to use it heavily in our managed services environment. My particular plan is to create reports with the output of this play.

Claudia de Luna

unread,
Mar 7, 2018, 2:34:40 PM3/7/18
to ansible...@googlegroups.com
Exactly!  the IOS module is for switches and routers...I was going to point you to the ASA modules if you were, in fact, working on a firewall but you already found them!  That is a great idea!  Good luck with that!   I'm doing similar things for my clients. From initial provisioning/configuration (generating and applying) to testing and then compliance reporting.  In a managed services environment it could be very powerful!  

--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/lnR8Ff5218o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c7a69746-9908-450f-b18f-56a81eb4e291%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages