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

Variables should be validated before instances created #217

Open
vvaldez opened this issue Jul 15, 2016 · 0 comments
Open

Variables should be validated before instances created #217

vvaldez opened this issue Jul 15, 2016 · 0 comments

Comments

@vvaldez
Copy link
Contributor

vvaldez commented Jul 15, 2016

If some variables such as dns_domain are not set, certain tasks will fail that depend on this such as:

TASK [hostnames : Setting FQDN Fact] *******************************************
fatal: [casl-vvaldez-1468605453-master1]: FAILED! => {"failed": true, "msg": "'dns_domain' is undefined"}
fatal: [casl-vvaldez-1468605453-nfs1]: FAILED! => {"failed": true, "msg": "'dns_domain' is undefined"}
fatal: [casl-vvaldez-1468605453-node1]: FAILED! => {"failed": true, "msg": "'dns_domain' is undefined"}
fatal: [casl-vvaldez-1468605453-node2]: FAILED! => {"failed": true, "msg": "'dns_domain' is undefined"}

This should be verified in a pre_task section.

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

No branches or pull requests

1 participant