More informations logs

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

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?

2013/2/20 Michael DeHaan <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.

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.

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>