Skip to content

Commit

Permalink
Merge pull request #10 from blomquisg/tower_not_tower
Browse files Browse the repository at this point in the history
Avoid Tower in notifications for embedded ansible
  • Loading branch information
agrare authored Jul 17, 2017
2 parents 530ae10 + bc16c7c commit b9c12e8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
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
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
:options => {
:op_name => "#{described_class::FRIENDLY_NAME} creation",
:op_arg => "(name=My Project)",
:tower => "Tower(manager_id=#{manager.id})"
:tower => "EMS(manager_id=#{manager.id})"
}
}
end
Expand Down Expand Up @@ -106,7 +106,7 @@ def store_new_project(project, manager)
:options => {
:op_name => "#{described_class::FRIENDLY_NAME} deletion",
:op_arg => "(manager_ref=#{tower_project.id})",
:tower => "Tower(manager_id=#{manager.id})"
:tower => "EMS(manager_id=#{manager.id})"
}
}
end
Expand Down Expand Up @@ -152,7 +152,7 @@ def store_new_project(project, manager)
:options => {
:op_name => "#{described_class::FRIENDLY_NAME} update",
:op_arg => "()",
:tower => "Tower(manager_id=#{manager.id})"
:tower => "EMS(manager_id=#{manager.id})"
}
}
end
Expand Down
6 changes: 3 additions & 3 deletions spec/support/ansible_shared/automation_manager/credential.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
:options => {
:op_name => "#{described_class::FRIENDLY_NAME} creation",
:op_arg => "(name=My Credential)",
:tower => "Tower(manager_id=#{manager.id})"
:tower => "EMS(manager_id=#{manager.id})"
}
}
end
Expand Down Expand Up @@ -98,7 +98,7 @@ def store_new_credential(credential, manager)
:options => {
:op_name => "#{described_class::FRIENDLY_NAME} deletion",
:op_arg => "(manager_ref=#{credential.id})",
:tower => "Tower(manager_id=#{manager.id})"
:tower => "EMS(manager_id=#{manager.id})"
}
}
end
Expand Down Expand Up @@ -145,7 +145,7 @@ def store_new_credential(credential, manager)
:options => {
:op_name => "#{described_class::FRIENDLY_NAME} update",
:op_arg => "()",
:tower => "Tower(manager_id=#{manager.id})"
:tower => "EMS(manager_id=#{manager.id})"
}
}
end
Expand Down

0 comments on commit b9c12e8

Please sign in to comment.