Saat saya menentukan tugas untuk dijalankan di beberapa server jarak jauh, jika tugas berjalan di server satu dan keluar dengan kesalahan, Fabric akan menghentikan dan membatalkan tugas. Tetapi saya ingin membuat fabric mengabaikan kesalahan dan menjalankan tugas di server berikutnya. Bagaimana saya bisa membuatnya melakukan ini?
Sebagai contoh:
$ fab site1_service_gw
[site1rpt1] Executing task 'site1_service_gw'
[site1fep1] run: echo 'Nm123!@#' | sudo -S route
[site1fep1] err:
[site1fep1] err: We trust you have received the usual lecture from the local System
[site1fep1] err: Administrator. It usually boils down to these three things:
[site1fep1] err:
[site1fep1] err: #1) Respect the privacy of others.
[site1fep1] err: #2) Think before you type.
[site1fep1] err: #3) With great power comes great responsibility.
[site1fep1] err: root's password:
[site1fep1] err: sudo: route: command not found
Fatal error: run() encountered an error (return code 1) while executing 'echo 'Nm123!@#' | sudo -S route '
Aborting.
from fabric.api settings