Skip to content

Commit

Permalink
Avoid Tower in notifications for embedded ansible
Browse files Browse the repository at this point in the history
ManageIQ should not indicate that anything "Tower" exists when dealing
with Embedded Ansible.  This should change the logs and notifications to
use a more "embedded ansibly" term when talking about embedded ansibly
things.

Before:

  "The operation Ansible Tower Credential creation (name=...) on
  Tower(manager_id=...) completed successfully."
  ^^^^^

After:

  "The operation Ansible Automation Inside Credential creation (name=...)
  on EMS(manager_id=1) completed successfully."
     ^^^

https://bugzilla.redhat.com/show_bug.cgi?id=1458593
  • Loading branch information
blomquisg committed Jun 29, 2017
1 parent 7ed8279 commit 92671ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def notify(op, manager_id, params, success)
:options => {
:op_name => "#{self::FRIENDLY_NAME} #{op}",
:op_arg => "(#{op_arg})",
:tower => "Tower(manager_id=#{manager_id})"
:tower => "EMS(manager_id=#{manager_id})"
}
)
end
Expand Down

0 comments on commit 92671ac

Please sign in to comment.