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

Adding ansible tags option through cmdline #18030

Merged
merged 1 commit into from
Oct 31, 2018

Conversation

EsdrasVP
Copy link
Member

This PR is able to:

  • Add Tag support to ansible-runner calls through cmdline

@miq-bot miq-bot added the wip label Sep 27, 2018
@EsdrasVP EsdrasVP changed the title [WIP] Adding tags option to cmdline [WIP] Adding ansible tags option through cmdline Sep 27, 2018
@EsdrasVP EsdrasVP force-pushed the enable_ansible_runner_tags branch 3 times, most recently from 5749fa5 to 561149f Compare October 1, 2018 12:50
@EsdrasVP EsdrasVP changed the title [WIP] Adding ansible tags option through cmdline Adding ansible tags option through cmdline Oct 1, 2018
@EsdrasVP EsdrasVP force-pushed the enable_ansible_runner_tags branch from 561149f to 0c3ebb4 Compare October 1, 2018 12:56
@miq-bot miq-bot removed the wip label Oct 1, 2018
@EsdrasVP
Copy link
Member Author

EsdrasVP commented Oct 1, 2018

@miq-bot assign @agrare

@EsdrasVP EsdrasVP force-pushed the enable_ansible_runner_tags branch from 0c3ebb4 to c668107 Compare October 1, 2018 15:01
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)
Copy link
Member

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

Copy link
Member Author

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.

@EsdrasVP EsdrasVP force-pushed the enable_ansible_runner_tags branch from c668107 to 9a40012 Compare October 1, 2018 20:04
@miq-bot
Copy link
Member

miq-bot commented Oct 1, 2018

Checked commit EsdrasVP@9a40012 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 🏆

@agrare agrare merged commit b1bc6c0 into ManageIQ:master Oct 31, 2018
@agrare agrare added this to the Sprint 98 Ending Nov 5, 2018 milestone Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants