-
Notifications
You must be signed in to change notification settings - Fork 897
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
Adding ansible tags option through cmdline #18030
Conversation
5749fa5
to
561149f
Compare
561149f
to
0c3ebb4
Compare
0c3ebb4
to
c668107
Compare
lib/ansible/runner.rb
Outdated
errors = [] | ||
|
||
errors << "env_vars must be a Hash, got: #{hash.class}" unless env_vars.kind_of?(Hash) | ||
errors << "extra_vars must be a Hash, got: #{hash.class}" unless extra_vars.kind_of?(Hash) | ||
errors << "tags must be a String, got: #{String}" if tags.present? && !tags.kind_of?(String) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got: #{String}"
Pretty sure you mean got: #{tag.class}
here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@agrare Oh, sorry for that, changed it here for tag.class
.
c668107
to
9a40012
Compare
Checked commit EsdrasVP@9a40012 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
This PR is able to:
cmdline