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

Require EmbeddedAnsible playbook to create playbook service #14226

Merged
merged 1 commit into from
Mar 8, 2017

Conversation

bzwei
Copy link
Contributor

@bzwei bzwei commented Mar 8, 2017

Before we assume the playbook to create a playbook catalog item is of type ManageIQ::Providers::AnsibleTower::AutomationManager::Playbook. Now we need to switch to ManageIQ::Providers::EmbeddedAnsible::AutomationManager::Playbook

We can argue whether it is better to write playbook = ConfigurationScriptBase.find(info[:playbook_id]) which will work for both Embedded and external playbook. I think right now limiting to Embedded only can help to reject unqualified ConfigurationScript. We can further enhance when the time comes to support external tower.

@bzwei
Copy link
Contributor Author

bzwei commented Mar 8, 2017

@miq-bot add_label providers/ansible_tower
@miq-bot add_label enhancement
@miq-bot assign @gmcculloug

@bzwei
Copy link
Contributor Author

bzwei commented Mar 8, 2017

@syncrou please review

@miq-bot
Copy link
Member

miq-bot commented Mar 8, 2017

Checked commit bzwei@8ea1f8d with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
3 files checked, 0 offenses detected
Everything looks good. ⭐

@gmcculloug
Copy link
Member

Looks good. Was running with configuration locally as well.

@gmcculloug gmcculloug merged commit c4792f9 into ManageIQ:master Mar 8, 2017
@gmcculloug gmcculloug added this to the Sprint 56 Ending Mar 13, 2017 milestone Mar 8, 2017
@bzwei bzwei deleted the find_playbook branch March 8, 2017 15:16
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.

4 participants