Sha256: b2bba0ae240968f61b5a1964bb1a9080c12b29e7c19a03ccfb542f23da20bcb5

Contents?: true

Size: 720 Bytes

Versions: 8

Compression:

Stored size: 720 Bytes

Contents

<%#
name: Run OpenSCAP remediation - Ansible Default
job_category: OpenSCAP Ansible Commands
description_format: Run OpenSCAP remediation on given host. Please note, it is not meant to be used directly.
snippet: false
provider_type: Ansible
kind: job_template
model: JobTemplate
feature: ansible_run_openscap_remediation
template_inputs:
- name: tasks
  description: Tasks to run on the host
  input_type: user
  required: true
- name: reboot
  description: Indicate wether the host should be rebooted after all the remediation
  input_type: user
  required: false
%>
---
- hosts: all
  tasks:
<%= indent(4) { input('tasks') } -%>
<% if truthy?(input('reboot')) %>
    - name: Reboot the machine
      reboot:
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
foreman_openscap-10.0.1 app/views/job_templates/run_openscap_remediation_-_ansible_default.erb
foreman_openscap-10.0.0 app/views/job_templates/run_openscap_remediation_-_ansible_default.erb
foreman_openscap-9.0.4 app/views/job_templates/run_openscap_remediation_-_ansible_default.erb
foreman_openscap-9.0.3 app/views/job_templates/run_openscap_remediation_-_ansible_default.erb
foreman_openscap-9.0.2 app/views/job_templates/run_openscap_remediation_-_ansible_default.erb
foreman_openscap-9.0.1 app/views/job_templates/run_openscap_remediation_-_ansible_default.erb
foreman_openscap-9.0.0 app/views/job_templates/run_openscap_remediation_-_ansible_default.erb
foreman_openscap-8.0.0 app/views/job_templates/run_openscap_remediation_-_ansible_default.erb