Below playbook fails I'm trying to uninstall a patch KB in windows server

118 views
Skip to first unread message

lloyd noble

unread,
Jul 28, 2022, 1:09:11 AM7/28/22
to Ansible Project
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
Reply all
Reply to author
Forward
0 new messages