Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make this run in check mode #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Make this run in check mode #17

wants to merge 1 commit into from

Conversation

sr
Copy link

@sr sr commented Dec 3, 2015

The role fails when it runs with ansible-playbook --check:

TASK: [joshualund.golang | Extract the Go tarball if Go is not yet installed or if it is not the desired version] *
**
fatal: [146.148.4.191] => error while evaluating conditional: not go_version|skipped and go_version|failed or go_ve
rsion.stdout != go_version_target

FATAL: all hosts have already failed -- aborting

This is because in check mode ansible doesn't execute commands and instead returns an object with a skipped attribute set to true.

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.

1 participant