-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
test for file existance before running first playbook #1345
Comments
Really what you should be doing here is keeping your hosts in seperate inventory files, if you want to avoid the risk of leaving off "-l", checking for the file prior to ignition won't save you from leaving it completely off. That being said, checking for files prior to launch is reasonable. |
The playbook does specify the appropriate (Some "dry-run" functionality would be nice too, but that's clearly under separate discussion, and the ticket was closed) |
good, yes we have reasons re dry run -- most tools that offer it are not really saying anything about side effects, so we prefer to not pretend. That all being said, we're also crazy dynamic, because you can do things based on the results of other commands and states. |
Being an idiot, I have a tendancy to type
instead of
The impact:
Can I suggest that if multiple playbooks are listed on the command line, that they are tested for existence before the command starts any work?
The text was updated successfully, but these errors were encountered: