Cancel operation when performing apt upgrade

8 views
Skip to first unread message

ntvotran

unread,
Aug 14, 2015, 8:59:07 AM8/14/15
to Ansible Project
Hi,

I'm very in IT orchestration and my new mission is to deploy new servers with Ansible.

My questions are :
- How can i handle an apt safe upgrade error ?
- How can script in my playbook "Don't upgrade if apt encounts error"

What i mean is :
Many of how servers are old and not upgraded.
I'm a little chilly because i've already been confronted to error when i performed aptitude safe-upgrade in a single server and i don't want all my servers to be down :(

Many Thanks

Nhat


Reply all
Reply to author
Forward
0 new messages