Debian Codegraph @

ansible_collections/theforeman/foreman/roles/convert2rhel/README.md

raw symbols SCIP
1 theforeman.foreman.convert2rhel
2 ===============================
3
4 This role creates a basic configuration for everything needed to register and convert CentOS clients to Red Hat Enterprise Linux.
5
6 First step is upload of manifest and synchronization of RHEL repositories. For more detail see [content_rhel Role](https://github.com/theforeman/foreman-ansible-modules/blob/develop/roles/content_rhel/README.md).
7
8 Then the role creates Convert2RHEL products & repositories (and synchronizes them), activation keys and host groups for each OS.
9
10 If simple content access is disabled, subscriptions and repositories for RHEL activation keys must be added manually.
11
12 Role Variables
13 --------------
14
15 This role supports the [Common Role Variables](https://github.com/theforeman/foreman-ansible-modules/blob/develop/README.md#common-role-variables) and [Content RHEL variables](https://github.com/theforeman/foreman-ansible-modules/blob/develop/roles/content_rhel/README.md)
16
17 - `foreman_convert2rhel_manage_subscription`: Run [content_rhel Role](https://github.com/theforeman/foreman-ansible-modules/blob/develop/roles/content_rhel/README.md) role, default: `true`
18 - `foreman_convert2rhel_lifecycle_env`: Lifecycle environment for activation keys, default: Library.
19 - `foreman_convert2rhel_content_view`: Content view for activation keys, default: Default Organization View.
20 - `foreman_convert2rhel_enable_oracle7`: Create data for Oracle Linux 7 conversion, default: `false`
21
22 Example Playbooks
23 -----------------
24
25 Convert2RHEL
26
27 ```yaml
28 - hosts: localhost
29 roles:
30 - role: theforeman.foreman.convert2rhel
31 vars:
32 foreman_server_url: "https://foreman.example.com"
33 foreman_username: "admin"
34 foreman_password: "changeme"
35 foreman_organization: "Default Organization"
36 foreman_manifest_path: "~/manifest.zip"
37 foreman_content_rhel_enable_rhel7: true
38 foreman_content_rhel_enable_rhel8: true
39 foreman_content_rhel_rhel8_releasever: 8.5
40 foreman_content_rhel_wait_for_syncs: false
41 foreman_convert2rhel_lifecycle_env: "Library"
42 foreman_convert2rhel_content_view: "Default Organization View"
43 foreman_convert2rhel_enable_oracle7: true
44 ```