alessandro mazzoli
2015-07-28 08:37:20 UTC
Hi,
i'm also using Ansible for rolling updates( dry-run first) on Ubuntu/CentOS
but i recognized that with the same cli command, Apt provide a larger
verbose output than Yum:
ansible myhost -i inventories/production/prod --check -vvvv -m yum -a "name=*
state=latest update_cache=yes"
In output this command gives me only SSH output + success state
<Loading Image...>
Instead executing:
ansible myhost_ubuntu -i inventories/production/prod --check -vvvv -m apt -a
"upgrade=yes update_cache=yes"
In output this command gives me SSH output + all info about packages that
will be installed/removed
<Loading Image...>
i tried also to set up "error_legel" on yum.conf, do you have any ideas?
Thank you advance, A.M
i'm also using Ansible for rolling updates( dry-run first) on Ubuntu/CentOS
but i recognized that with the same cli command, Apt provide a larger
verbose output than Yum:
ansible myhost -i inventories/production/prod --check -vvvv -m yum -a "name=*
state=latest update_cache=yes"
In output this command gives me only SSH output + success state
<Loading Image...>
Instead executing:
ansible myhost_ubuntu -i inventories/production/prod --check -vvvv -m apt -a
"upgrade=yes update_cache=yes"
In output this command gives me SSH output + all info about packages that
will be installed/removed
<Loading Image...>
i tried also to set up "error_legel" on yum.conf, do you have any ideas?
Thank you advance, A.M
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a7d441e1-8bc9-43c1-a38a-e0ac91fddc24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a7d441e1-8bc9-43c1-a38a-e0ac91fddc24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.