Skip to content

bug: is_scaleup always return 0 due to -o pipefail #386

Description

@ioggstream

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions