Sha256: 232873d1d047fb88bc360ff0b6be284ae83e2b4b0b27ea2625643902be9cc5ff

Contents?: true

Size: 542 Bytes

Versions: 1

Compression:

Stored size: 542 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 vm automaticaly to continue with the upgrade
  input_type: user
  required: false
  options: "false\ntrue"
%>
---
- 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

1 entries across 1 versions & 1 rubygems

Version Path
foreman_leapp-0.0.6 app/views/foreman_leapp/job_templates/upgrade.erb