Sha256: 2fdd68504412927f7732fa44a33ef4b6f7133c5ede1364dbe6ab67e6eed959af

Contents?: true

Size: 645 Bytes

Versions: 164

Compression:

Stored size: 645 Bytes

Contents

<%#
name: Restart Services - Katello Ansible Default
snippet: false
model: JobTemplate
job_category: Katello via Ansible
description_format: Restart Services
template_inputs:
- name: helper
  required: true
  input_type: user
  description: A comma separated list of commands to run to restart services
  advanced: false
provider_type: Ansible
kind: job_template
%>

<%
commands = input(:helper).split(',').map { |split| split.strip }
reboot = commands.delete('reboot')
-%>
<%= render_template(
    'Run Command - Ansible Default',
    :command => (commands.push('katello-tracer-upload')).join("\n")
) %>
<% if reboot %>
    - reboot:
<% end %>

Version data entries

164 entries across 164 versions & 1 rubygems

Version Path
katello-4.3.1 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.4.0 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.4.0.rc2 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.4.0.rc1 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.2.2 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.3.0 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.3.0.rc4 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.3.0.rc3 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.3.0.rc2.1 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.3.0.rc2 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.3.0.rc1 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.2.1 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.2.0.1 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.1.4 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.0.3 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.2.0.1.rc3 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-3.18.5 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.2.0.1.rc2 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.2.0.rc2 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb
katello-4.1.3 app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb