# win\_package

**URL:** <https://forum.ansible.com/t/win-package/31234>\
**Category:** Ansible Project\
**Created:** [September 9, 2019, 11:29am UTC](https://forum.ansible.com/t/win-package/31234 "2019-09-09T11:29:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manish\_Kumar](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@Manish\_Kumar](https://forum.ansible.com/u/Manish_Kumar)\
**Post date:** [September 9, 2019, 11:29am UTC](https://forum.ansible.com/t/win-package/31234/1 "2019-09-09T11:29:02Z")

</div>

Dear All,

I am getting a very weird result while using win\_package, It is succeeding and no error is visible on ansible command prompt however the package is not installed while checking manually .

We are able to install notepad++ successfully but other application setup.exe is having issue with no error .

What could be the reason and how it can be resolved ? Any help is much appreciated .

Thanks,  
Manish

---

<div class="post-metadata">

**Author:** ![Manish\_Kumar](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@Manish\_Kumar](https://forum.ansible.com/u/Manish_Kumar)\
**Post date:** [September 9, 2019, 11:44am UTC](https://forum.ansible.com/t/win-package/31234/2 "2019-09-09T11:44:30Z")

</div>

> Dear All,
> 
> I am getting a very weird result while using win\_package, It is succeeding and no error is visible on ansible command prompt however the package is not installed while checking manually .
> 
> We are able to install notepad++ successfully but other application setup.exe is having issue with no error .
> 
> What could be the reason and how it can be resolved ? Any help is much appreciated .

Results:

TASK [Install the win service] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

task path: /U01/automation/playbooks/uninstal.yml:7

changed: [10.130.2.10] =\> {

“changed”: true,

“exit\_code”: 0,

“failed”: false,

“rc”: 0,

“reboot\_required”: false,

“restart\_required”: false

}

META: ran handlers

META: ran handlers

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

10.130.2.10 : ok=1 changed=1 unreachable=0 failed=0

---

<div class="post-metadata">

**Author:** ![Manish\_Kumar](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@Manish\_Kumar](https://forum.ansible.com/u/Manish_Kumar)\
**Post date:** [September 9, 2019, 3:25pm UTC](https://forum.ansible.com/t/win-package/31234/3 "2019-09-09T15:25:08Z")

</div>

Can Anyone help on this ?

---

<div class="post-metadata">

**Author:** ![MKPhil](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@MKPhil](https://forum.ansible.com/u/MKPhil)\
**Post date:** [September 9, 2019, 3:36pm UTC](https://forum.ansible.com/t/win-package/31234/4 "2019-09-09T15:36:11Z")

</div>

Can you share your playbook so we can see the command you are running?

---

<div class="post-metadata">

**Author:** ![Manish\_Kumar](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@Manish\_Kumar](https://forum.ansible.com/u/Manish_Kumar)\
**Post date:** [September 10, 2019, 6:21am UTC](https://forum.ansible.com/t/win-package/31234/5 "2019-09-10T06:21:22Z")

</div>

here is the playbook . Looks like silent feature is disabled so is there any other option in ansible to install using argument just like how we do using gui.
