Skip to content

Conversation

@mbaldessari
Copy link
Contributor

Before:

$ ./pattern.sh make load-secrets
==> Loading secrets (this may take several minutes)...
make: *** [Makefile-common:33: load-secrets] Error 2

After:

==> Loading secrets (this may take several minutes)...
==> ERROR: Secret loading failed The conditional check 'vault_ns_rc.resources | length > 0' failed. The error was: error while evaluating conditional (vault_ns_rc.resources | length > 0): 'dict object' has no attribute 'resources'

You can run the following command to debug:

  ANSIBLE_STDOUT_CALLBACK=default EXTRA_PLAYBOOK_OPTS='-vvv -e hide_sensitive_output=false' ./pattern.sh make load-secrets

Closes: #68

Before:

    $ ./pattern.sh make load-secrets
    ==> Loading secrets (this may take several minutes)...
    make: *** [Makefile-common:33: load-secrets] Error 2

After:

    ==> Loading secrets (this may take several minutes)...
    ==> ERROR: Secret loading failed The conditional check 'vault_ns_rc.resources | length > 0' failed. The error was: error while evaluating conditional (vault_ns_rc.resources | length > 0): 'dict object' has no attribute 'resources'

    You can run the following command to debug:

      ANSIBLE_STDOUT_CALLBACK=default EXTRA_PLAYBOOK_OPTS='-vvv -e hide_sensitive_output=false' ./pattern.sh make load-secrets

Closes: validatedpatterns#68
Copy link
Contributor

@dminnear-rh dminnear-rh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making this PR, LGTM!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problematic load-secrets is excessively terse

2 participants