Skip to content

Instantly share code, notes, and snippets.

@dagwieers
Created October 5, 2018 00:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dagwieers/5befad50fd0c17a43910a4ce07e178b3 to your computer and use it in GitHub Desktop.
Save dagwieers/5befad50fd0c17a43910a4ce07e178b3 to your computer and use it in GitHub Desktop.
Ansible DEBUG output
19260 1538698222.91159: no more pending results, returning what we have
19260 1538698222.91179: results queue empty
19260 1538698222.91194: checking for any_errors_fatal
19260 1538698222.91211: done checking for any_errors_fatal
19260 1538698222.91224: checking for max_fail_percentage
19260 1538698222.91237: done checking for max_fail_percentage
19260 1538698222.91250: checking to see if all hosts have failed and the running result is not ok
19260 1538698222.91263: done checking to see if all hosts have failed
19260 1538698222.91275: getting the remaining hosts for this loop
19260 1538698222.91297: done getting the remaining hosts for this loop
19260 1538698222.91314: building list of next tasks for hosts
19260 1538698222.91330: getting the next task for host bdsol-aci51-dc-01
19260 1538698222.91350: done getting next task for host bdsol-aci51-dc-01
19260 1538698222.91366: ^ task is: TASK: windows-ad-server : Reboot after AD installation
19260 1538698222.91381: ^ state is: HOST STATE: block=2, task=5, 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
19260 1538698222.91397: done building task lists
19260 1538698222.91410: counting tasks in each state of execution
19260 1538698222.91424: done counting tasks in each state of execution:
num_setups: 0
num_tasks: 1
num_rescue: 0
num_always: 0
19260 1538698222.91437: advancing hosts in ITERATING_TASKS
19260 1538698222.91449: starting to advance hosts
19260 1538698222.91461: getting the next task for host bdsol-aci51-dc-01
19260 1538698222.91475: done getting next task for host bdsol-aci51-dc-01
19260 1538698222.91491: ^ task is: TASK: windows-ad-server : Reboot after AD installation
19260 1538698222.91505: ^ state is: HOST STATE: block=2, task=5, 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
19260 1538698222.91517: done advancing hosts to next task
19260 1538698222.91659: Loading ActionModule 'win_reboot' from /home/dwieers/ansible/lib/ansible/plugins/action/win_reboot.py (searched paths: /home/dwieers/backend/plugins/action:/home/dwieers/ansible/lib/ansible/plugins/action) (found_in_cache=False, class_only=True)
19260 1538698222.91683: getting variables
19260 1538698222.91702: in VariableManager get_vars()
19260 1538698222.91878: Calling all_inventory to load vars for bdsol-aci51-dc-01
19260 1538698222.91907: Calling groups_inventory to load vars for bdsol-aci51-dc-01
19260 1538698222.91943: Calling all_plugins_inventory to load vars for bdsol-aci51-dc-01
19260 1538698222.92017: Loading VarsModule 'host_group_vars' from /home/dwieers/ansible/lib/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
19260 1538698222.92071: Calling all_plugins_play to load vars for bdsol-aci51-dc-01
19260 1538698222.92116: Loading VarsModule 'host_group_vars' from /home/dwieers/ansible/lib/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
19260 1538698222.92164: Loading data from /home/dwieers/backend/group_vars/all/passwords.yml
19260 1538698222.92196: Calling groups_plugins_inventory to load vars for bdsol-aci51-dc-01
19260 1538698222.92244: Loading VarsModule 'host_group_vars' from /home/dwieers/ansible/lib/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
19260 1538698222.92333: Calling groups_plugins_play to load vars for bdsol-aci51-dc-01
19260 1538698222.92379: Loading VarsModule 'host_group_vars' from /home/dwieers/ansible/lib/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
19260 1538698222.92485: Loading VarsModule 'host_group_vars' from /home/dwieers/ansible/lib/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
19260 1538698222.92557: Loading VarsModule 'host_group_vars' from /home/dwieers/ansible/lib/ansible/plugins/vars/host_group_vars.py (found_in_cache=True, class_only=False)
19260 1538698222.93335: done with get_vars()
19260 1538698222.93385: done getting variables
19260 1538698222.93419: sending task start callback, copying the task so we can template it temporarily
19260 1538698222.93439: done copying, going to template now
19260 1538698222.93460: done templating
19260 1538698222.93479: here goes the callback...
19260 1538698222.93508: sending task start callback
19260 1538698222.93529: entering _queue_task() for bdsol-aci51-dc-01/win_reboot
19260 1538698222.93550: Creating lock for win_reboot
19260 1538698222.93862: worker is 1 (out of 1 available)
19260 1538698222.94024: exiting _queue_task() for bdsol-aci51-dc-01/win_reboot
19260 1538698222.94068: done queuing things up, now waiting for results queue to drain
19260 1538698222.94094: waiting for pending results...
19963 1538698222.94446: running TaskExecutor() for bdsol-aci51-dc-01/TASK: windows-ad-server : Reboot after AD installation
19963 1538698222.94602: in run() - task 0050569e-1574-52b8-4234-00000000005e
19963 1538698222.94716: calling self._execute()
19963 1538698222.95118: Loading TestModule 'core' from /home/dwieers/ansible/lib/ansible/plugins/test/core.py (found_in_cache=True, class_only=False)
19963 1538698222.95147: Loading TestModule 'files' from /home/dwieers/ansible/lib/ansible/plugins/test/files.py (found_in_cache=True, class_only=False)
19963 1538698222.95168: Loading TestModule 'mathstuff' from /home/dwieers/ansible/lib/ansible/plugins/test/mathstuff.py (found_in_cache=True, class_only=False)
19963 1538698222.95279: Loading FilterModule 'aci' from /home/dwieers/backend/plugins/filter/aci.py (found_in_cache=True, class_only=False)
19963 1538698222.95306: Loading FilterModule 'core' from /home/dwieers/ansible/lib/ansible/plugins/filter/core.py (found_in_cache=True, class_only=False)
19963 1538698222.95329: Loading FilterModule 'hostname' from /home/dwieers/ansible/lib/ansible/plugins/filter/hostname.py (found_in_cache=True, class_only=False)
19963 1538698222.95351: Loading FilterModule 'ipaddr' from /home/dwieers/ansible/lib/ansible/plugins/filter/ipaddr.py (found_in_cache=True, class_only=False)
19963 1538698222.95371: Loading FilterModule 'json_query' from /home/dwieers/ansible/lib/ansible/plugins/filter/json_query.py (found_in_cache=True, class_only=False)
19963 1538698222.95394: Loading FilterModule 'mathstuff' from /home/dwieers/ansible/lib/ansible/plugins/filter/mathstuff.py (found_in_cache=True, class_only=False)
19963 1538698222.95417: Loading FilterModule 'network' from /home/dwieers/ansible/lib/ansible/plugins/filter/network.py (found_in_cache=True, class_only=False)
19963 1538698222.95441: Loading FilterModule 'urls' from /home/dwieers/backend/plugins/filter/urls.py (found_in_cache=True, class_only=False)
19963 1538698222.95462: Loading FilterModule 'urlsplit' from /home/dwieers/ansible/lib/ansible/plugins/filter/urlsplit.py (found_in_cache=True, class_only=False)
19963 1538698223.00052: Loading Connection 'winrm' from /home/dwieers/ansible/lib/ansible/plugins/connection/winrm.py
19963 1538698223.00321: Loading ShellModule 'powershell' from /home/dwieers/ansible/lib/ansible/plugins/shell/powershell.py
19963 1538698223.05914: assigned :doc
19963 1538698223.05970: Loaded config def from plugin (shell/powershell)
19963 1538698223.06814: assigned :doc
19963 1538698223.06884: Loaded config def from plugin (connection/winrm)
19963 1538698223.07016: Loading ActionModule 'win_reboot' from /home/dwieers/ansible/lib/ansible/plugins/action/win_reboot.py (searched paths: /home/dwieers/backend/plugins/action:/home/dwieers/ansible/lib/ansible/plugins/action) (found_in_cache=True, class_only=False)
19963 1538698223.07041: starting attempt loop
19963 1538698223.07057: running the handler
19963 1538698223.07076: _low_level_execute_command(): starting
19963 1538698223.07094: _low_level_execute_command(): executing: uname
<38.38.51.1> ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT 5986 TO 38.38.51.1
checking if winrm_host 38.38.51.1 is an IPv6 address
19963 1538698273.19103: handler run complete
19963 1538698273.19143: attempt loop complete, returning result
19963 1538698273.19163: _execute() done
19963 1538698273.19182: dumping result to json
19963 1538698273.19204: done dumping result, returning
19963 1538698273.19231: done running TaskExecutor() for bdsol-aci51-dc-01/TASK: windows-ad-server : Reboot after AD installation [0050569e-1574-52b8-4234-00000000005e]
19963 1538698273.19261: sending task result for task 0050569e-1574-52b8-4234-00000000005e
19963 1538698273.19327: done sending task result for task 0050569e-1574-52b8-4234-00000000005e
19963 1538698273.19396: WORKER PROCESS EXITING
19260 1538698273.19473: marking bdsol-aci51-dc-01 as failed
19260 1538698273.19518: marking host bdsol-aci51-dc-01 failed, current state: HOST STATE: block=2, task=5, 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
19260 1538698273.19545: ^ failed state is now: HOST STATE: block=2, task=5, 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
19260 1538698273.19569: getting the next task for host bdsol-aci51-dc-01
19260 1538698273.19590: host bdsol-aci51-dc-01 is done iterating, returning
TASK [windows-ad-server : Reboot after AD installation] ***************************************
task path: /home/dwieers/backend/roles/windows-ad-server/tasks/main.yml:39
fatal: [bdsol-aci51-dc-01]: FAILED! => {
"changed": false,
"msg": "credssp: Received error status from the server: (3221225874) UNKOWN_STATUS 0xc0000192",
"reboot": false
}
19260 1538698273.29289: no more pending results, returning what we have
19260 1538698273.29358: results queue empty
19260 1538698273.29375: checking for any_errors_fatal
19260 1538698273.29400: getting the next task for host bdsol-aci51-dc-01
19260 1538698273.29417: host bdsol-aci51-dc-01 is done iterating, returning
19260 1538698273.29432: done checking for any_errors_fatal
19260 1538698273.29446: checking for max_fail_percentage
19260 1538698273.29461: done checking for max_fail_percentage
19260 1538698273.29475: checking to see if all hosts have failed and the running result is not ok
19260 1538698273.29492: ^ not ok, so returning result now
NO MORE HOSTS LEFT ****************************************************************************
PLAY RECAP ************************************************************************************
bdsol-aci51-dc-01 : ok=34 changed=31 unreachable=0 failed=1 skipped=0
bdsol-aci51-scvmm-01 : ok=31 changed=27 unreachable=0 failed=0 skipped=0
bdsol-aci51-sql-01 : ok=30 changed=27 unreachable=0 failed=0 skipped=0
19260 1538698273.29732: RUNNING CLEANUP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment