Sha256: 736899f1187a68cf27de2f595fee94e825e1b0824c87e7a80df445b8c2755fcb
Contents?: true
Size: 1.02 KB
Versions: 1
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_leapp-2.0.3 | app/views/foreman_leapp/job_templates/leapp_upgrade.erb |