Convert2Rhel

Document Control

TODO:

  • Overall structure.
  • Initial draft complete
  • Testing
  • Ready

Ansible Role Ansible Quality Score Build Status GitHub issues GitHub last commit

User Story: Conver2Rhel

As a: UNIX and Linux system administrator

I want to: migrate from CentOS, and RHEL like systems to RHEL

So that: I can subscribe to RHEL support.

sudo yum install epel-release

sudo vim /etc/yum.repos.d/rhel.repo
[rhel]
name=rhel
baseurl=file:///iso
enabled=1
gpgcheck=1
gpgkey=file:///iso/RPM-GPG-KEY-redhat-release


sudo convert2rhel --disable-submgr --disablerepo "*" --enablerepo rhel

Using the role

Using the role in a playbook
---
- name: Install conver2rhel
  hosts: all

  tasks:
    - name: conver2rhel is configured
      import_role:
        name: devopstoolbox.conver2rhel
      vars:
        conver2rhel_enable_service: true
      tags: conver2rhel
# Install the role
ansible-galaxy install devopstoolbox.conver2rhel

# Run the playbook
ansible-playbook conver2rhel-playbook.yml

Last update: 2020-02-09