## I expect is_scaleup to return EXIT_SUCCESS (0) only if there are new nodes ## instead returns EXIT_SUCCESS whenever ansible/inventory and ansible.deployed/inventory differs ## Hint This is due to ``` set -o pipefail ``` which causes every diff to return EXIT_FAILURE
I expect
is_scaleup to return EXIT_SUCCESS (0) only if there are new nodes
instead
returns EXIT_SUCCESS whenever ansible/inventory and ansible.deployed/inventory differs
Hint
This is due to
which causes every diff to return EXIT_FAILURE