Sha256: c9318fe0cd2f8bf42f036503cb5e7fd8c2664ebaaede8346e2e6cd355b6f7e2b
Contents?: true
Size: 1.02 KB
Versions: 4
Compression:
Stored size: 1.02 KB
Contents
<%# kind: job_template name: Run upgrade via Leapp job_category: Leapp - Upgrade description_format: 'Upgrade RHEL host' provider_type: Ansible feature: leapp_upgrade model: JobTemplate template_inputs: - name: Channel description: "Set if the target OS is required to use the General Availability (GA) channel - the default - or a specific channel among: Update Services for SAP Solutions (E4S), Extended Upgrade Support (EUS) or Advanced Update Support (AUS)." input_type: user required: true default: "ga" options: "ga\ne4s\neus\naus" - name: Reboot description: Reboot the host automaticaly to continue with the upgrade input_type: user required: true default: "true" options: "true\nfalse" %> --- - hosts: all vars: - channel_opts: <% input('Channel') == 'ga' ? '' : "--channel #{input('Channel')}" %> tasks: - name: Run Leapp Upgrade command: leapp upgrade {{ channel_opts }} <%- if input('Reboot') == "true" -%> - name: Reboot the machine reboot: reboot_timeout: 1800 <%- end -%>
Version data entries
4 entries across 4 versions & 1 rubygems