Skip to content

Commit

Permalink
Add Ansible Playbook custom button type
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalis committed Aug 27, 2017
1 parent ef367b7 commit 7105cbd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/models/custom_button.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ class CustomButton < ApplicationRecord
include UuidMixin
acts_as_miq_set_member

TYPES = { "default" => "Default",
"ansible_playbook" => "Ansible Playbook"}.freeze

PLAYBOOK_METHOD = "Order_Ansible_Playbook".freeze

BUTTON_CLASSES = [
AvailabilityZone,
CloudNetwork,
Expand Down

0 comments on commit 7105cbd

Please sign in to comment.