Sha256: a19b6a9f744df6d01e7e1f5ba5aa077ea0864339fbb46ca1155e76424ca4f96b
Contents?: true
Size: 468 Bytes
Versions: 52
Compression:
Stored size: 468 Bytes
Contents
<%# kind: job_template name: Power Action - SSH Default model: JobTemplate job_category: Power description_format: '%{action} host' provider_type: SSH template_inputs: - name: action description: Action to perform on the service input_type: user options: "restart\nshutdown" required: true %> echo <%= input('action') %> host && sleep 3 <%= case input('action') when 'restart' 'shutdown -r +1' else 'shutdown -h now' end %>
Version data entries
52 entries across 52 versions & 1 rubygems