Skip to content

Make this run in check mode#17

Open
sr wants to merge 1 commit intojlund:masterfrom
sr:fix-check
Open

Make this run in check mode#17
sr wants to merge 1 commit intojlund:masterfrom
sr:fix-check

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