Hello guys,
My playbook seems to be stuck for 5 mins for 1 server. Is it bug ?
tasks:
- name: Search and download Windows updates without installing them
win_updates:
category_names: - SecurityUpdates
- CriticalUpdates
- UpdateRollups
- Definition Updates
- Windows Defender
- Windows Server 2016
- Updates
- Silverlight
- Feature Packs
reboot: yes
Actual Result -
ansible-playbook 2.9.2
config file = /etc/ansible/ansible.cfg
configured module search path = [u’/root/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’]
ansible python module location = /usr/lib/python2.7/dist-packages/ansible
executable location = /usr/bin/ansible-playbook
python version = 2.7.12 (default, Oct 8 2019, 14:14:10) [GCC 5.4.0 20160609]
Using /etc/ansible/ansible.cfg as config file
host_list declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
script declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
auto declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Parsed /etc/ansible/hosts inventory source with ini plugin
PLAYBOOK: testing.yml ************************************************************************************************************************************************************************
1 plays in testing.yml
PLAY [windows] *******************************************************************************************************************************************************************************
TASK [Gathering Facts] ***********************************************************************************************************************************************************************
task path: /etc/ansible/windows-playbook/testing.yml:2
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/windows/setup.ps1
Pipelining is enabled.
<EC2AMAZ-9M186EG.corp.medqia.com> ESTABLISH WINRM CONNECTION FOR USER: None on PORT 5986 TO EC2AMAZ-9M186EG.corp.medqia.com
EXEC (via pipeline wrapper)
ok: [EC2AMAZ-9M186EG.corp.medqia.com]
META: ran handlers
TASK [Search and download Windows updates without installing them] ***************************************************************************************************************************
task path: /etc/ansible/windows-playbook/testing.yml:12
win_updates: running win_updates module
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/windows/win_updates.ps1
Pipelining is enabled.
<EC2AMAZ-9M186EG.corp.medqia.com> ESTABLISH WINRM CONNECTION FOR USER: None on PORT 5986 TO EC2AMAZ-9M186EG.corp.medqia.com
EXEC (via pipeline wrapper)
thanks in advance for your help!