Sha256: e99f2cdec36c53e5a2e38ec4c7d7b9e2d9436f2376117ec7a8c37264dcf74c2c

Contents?: true

Size: 580 Bytes

Versions: 21

Compression:

Stored size: 580 Bytes

Contents

<%#
name: Salt Run function - SSH default
job_category: Salt-Call
description_format: Run Salt function on host
provider_type: SSH
snippet: false
template_inputs:
- name: function
  required: true
  input_type: user
  description: "Salt function to run on the host, e.g: \r\n\r\ncmd.run 'df -h'"
  advanced: false
- name: test-run
  required: false
  input_type: user
  description: Enables test run
  options: "no\r\nyes"
  advanced: true
kind: job_template
%>

salt-call <%= input('function') %> \
<%= ' test=true' if !input('test-run').blank? && input('test-run') == 'yes' -%>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
foreman_salt-17.0.0 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-16.0.3 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-16.0.2 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-16.0.1 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-16.0.0 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-15.2.3 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-15.2.2 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-15.2.1 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-15.2.0 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-15.1.0 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-15.0.0 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-14.1.0 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-14.0.0 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-13.2.4 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-13.2.3 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-13.2.2 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-13.2.1 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-13.2.0 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-13.1.0 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb
foreman_salt-13.0.0 app/views/foreman_salt/job_templates/salt_run_function_-_ssh_default.erb