Sha256: 62aec66a7d0130502584984a787924f5b1507d98aba05fa0d95793c6051cead0

Contents?: true

Size: 561 Bytes

Versions: 3

Compression:

Stored size: 561 Bytes

Contents

<%#
kind: job_template
name: Run upgrade via Leapp
job_category: Ansible Playbook
description_format: 'Upgrade RHEL 7 host'
provider_type: Ansible
feature: leapp_upgrade
template_inputs:
- name: Reboot
  description: Reboot the host automaticaly to continue with the upgrade
  input_type: user
  required: true
  default: "true"
  options: "true\nfalse"
%>
---
- hosts: all
  tasks:
    - name: Run Leapp Upgrade
      command: leapp upgrade
<% if input('Reboot') == "true" %>
    - name: Reboot the machine
      reboot:
        reboot_timeout: 1800
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreman_leapp-0.1.2 app/views/foreman_leapp/job_templates/upgrade.erb
foreman_leapp-0.1.1 app/views/foreman_leapp/job_templates/upgrade.erb
foreman_leapp-0.1.0 app/views/foreman_leapp/job_templates/upgrade.erb