Skip to content

Commit

Permalink
These are not tower jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonin committed Jul 24, 2019
1 parent e232071 commit b08b2f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/service_ansible_playbook.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ def _execute(action)
)
opts[:hosts] = hosts_array(opts.delete(:hosts))

_log.info("Launching Ansible Tower job with options:")
_log.info("Launching Ansible job with options:")
$log.log_hashes(opts)
new_job = ManageIQ::Providers::EmbeddedAnsible::AutomationManager::Job.create_job(jt, decrypt_options(opts))
update_job_for_playbook(action, new_job, opts[:hosts])

_log.info("Ansible Tower job with ref #{new_job.ems_ref} was created.")
_log.info("Ansible job with ref #{new_job.ems_ref} was created.")
add_resource!(new_job, :name => action)
end

Expand Down

0 comments on commit b08b2f9

Please sign in to comment.