Sha256: 54797e03ee6f555db83177bd29c1153c8bb95d4aa3cbcc81a363fe81367b13b6
Contents?: true
Size: 659 Bytes
Versions: 2
Compression:
Stored size: 659 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') -%> <% if reboot -%> - reboot: <% else -%> <%= render_template( 'Run Command - Ansible Default', :command => (commands.push('katello-tracer-upload')).join("\n") ) %> <% end -%>
Version data entries
2 entries across 2 versions & 1 rubygems