# More informations logs

**URL:** <https://forum.ansible.com/t/more-informations-logs/12392>\
**Category:** Ansible Project\
**Created:** [February 20, 2013, 2:42pm UTC](https://forum.ansible.com/t/more-informations-logs/12392 "2013-02-20T14:42:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Acyl](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@Acyl](https://forum.ansible.com/u/Acyl)\
**Post date:** [February 20, 2013, 2:42pm UTC](https://forum.ansible.com/t/more-informations-logs/12392/1 "2013-02-20T14:42:30Z")

</div>

Hello,

I have several servers need to be updated. I must have a maximum of informations on what ansible do on each server.  
For now I’m using logs produced by the callback “log\_play.py” but I want to know more informations.  
For example, when a package is installed by one of my playbook, I would like to knw what solution apt/yum chose if there are dependencies issues.  
Do you have any tips for doing this?

Best regards

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [February 20, 2013, 3:06pm UTC](https://forum.ansible.com/t/more-informations-logs/12392/2 "2013-02-20T15:06:48Z")

</div>

We're going to upgrading the callbacks soon to make more information  
available to them about playbook context, but what you are asking for  
here is to have the yum or apt module to return more information.

I don't really see us returning any "strategy" information though, as  
that doesn't immediately seem relevant to yum.

Can you give an example of what you are wanting?

---

<div class="post-metadata">

**Author:** ![Acyl](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@Acyl](https://forum.ansible.com/u/Acyl)\
**Post date:** [February 20, 2013, 4:37pm UTC](https://forum.ansible.com/t/more-informations-logs/12392/3 "2013-02-20T16:37:12Z")

</div>

2013/2/20 Michael DeHaan \<[michael.dehaan@gmail.com](mailto:michael.dehaan@gmail.com)\>

> We’re going to upgrading the callbacks soon to make more information  
> available to them about playbook context, but what you are asking for  
> here is to have the yum or apt module to return more information.

As soon as I’m launching a playbook with module APT or YUM.  
I need to know, what are the solutions taken by ansible?

> I don’t really see us returning any “strategy” information though, as  
> that doesn’t immediately seem relevant to yum.
> 
> Can you give an example of what you are wanting?

> For example, I am wanting to read:
> 
> - 
> - Dependencies results when Ansible install packages.
> 
> - 
> - The history of actions when ansible-playbook failed
> 
> - The history of actions when ansible-playbook done or changed

I’m sorry about my approximative English.  
I hope that you will understand my question without any troubles.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [February 20, 2013, 4:38pm UTC](https://forum.ansible.com/t/more-informations-logs/12392/4 "2013-02-20T16:38:53Z")

</div>

Ansible will tell you if it made any changes to reflect the desired  
state. If it did not fail, it now matches the desired state.

We don't report back on the commands run to get you there.

---

<div class="post-metadata">

**Author:** ![Acyl](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@Acyl](https://forum.ansible.com/u/Acyl)\
**Post date:** [February 20, 2013, 5:02pm UTC](https://forum.ansible.com/t/more-informations-logs/12392/5 "2013-02-20T17:02:50Z")

</div>

OK, you answered my question. Thank you very much for your help.  
Good evening, best regards.

2013/2/20 Michael DeHaan \<[michael.dehaan@gmail.com](mailto:michael.dehaan@gmail.com)\>
