Sha256: 4a94d6256bbbf02d06836f82d2ff79ba17404d192aae7b5379e84b985d1e890a

Contents?: true

Size: 375 Bytes

Versions: 8

Compression:

Stored size: 375 Bytes

Contents

<%#
kind: job_template
name: Download and run a script
model: JobTemplate
job_category: Commands
description_format: "Download the script from %{url} and run it locally"
provider_type: script
template_inputs:
- name: url
  description: URL of the script to download and execute
  input_type: user
  required: true
%>

set -o pipefail && curl -sS '<%= input("url") %>' | bash

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
foreman_remote_execution-14.1.1 app/views/templates/script/run_downloaded_script.erb
foreman_remote_execution-14.1.0 app/views/templates/script/run_downloaded_script.erb
foreman_remote_execution-14.0.2 app/views/templates/script/run_downloaded_script.erb
foreman_remote_execution-14.0.1 app/views/templates/script/run_downloaded_script.erb
foreman_remote_execution-13.2.6 app/views/templates/script/run_downloaded_script.erb
foreman_remote_execution-14.0.0 app/views/templates/script/run_downloaded_script.erb
foreman_remote_execution-13.2.5 app/views/templates/script/run_downloaded_script.erb
foreman_remote_execution-13.2.4 app/views/templates/script/run_downloaded_script.erb