I tried all the method to do this getting below error for this playbook
{
"unreachable": true,
"msg": "basic: auth method basic requires a password",
"changed": false
}
Already the username/pass mentioned in inventory of ansible tower credentials works fine for other playbooks
---
- name: Windows Update remove- all servers
hosts: all
become: false
tasks:
- name: Uninstall only particular updates
win_package:
product_id: Package_for_ServicingStack~31bf3856ad364e35~amd64~~17763.2170.1.0
state: absent
reboot: yes
reboot_timeout: 600