Sha256: 32c7bd994dd72d451adc82cf7c3fdab77bb7b38504538de665448928257c4bd4
Contents?: true
Size: 623 Bytes
Versions: 37
Compression:
Stored size: 623 Bytes
Contents
<%# kind: job_template name: Service Action - SSH Default job_category: Services description_format: '%{action} service %{service}' provider_type: SSH template_inputs: - name: action description: Action to perform on the service input_type: user options: "restart\nstart\nstop\nstatus" required: true - name: service description: Name of the service input_type: user required: true %> <% if @host.operatingsystem.family == "Redhat" && @host.operatingsystem.major.to_i > 6 %> systemctl <%= input("action") %> <%= input("service") %> <% else %> service <%= input("service") %> <%= input("action") %> <% end -%>
Version data entries
37 entries across 37 versions & 1 rubygems