Smart Proxy Upgrade Playbook does not update Katello Repo

Hello,

when i’m using Smart Proxy Upgrade Playbook it will not Update Katello repo

This is from Remote Excecution Preview:

---
- hosts: all
  vars:
    target_version: "4.12"
  tasks:
    - name: Gather the rpm package facts
      package_facts:
        manager: auto

    - name: Fail if the target server is a Foreman server
      fail:
        msg: "This playbook cannot be executed on a Foreman server. Use only on a Smart Proxy server."
      when: "'foreman' in ansible_facts.packages"

    - name: Install foreman release gpg key
      rpm_key:
        state: present
        key: http://yum.theforeman.org/releases/{{ target_version }}/RPM-GPG-KEY-foreman
      when: target_version != "nightly"

    - name: Update foreman repositories
      package:
        name: https://yum.theforeman.org/releases/{{ target_version }}/el{{ ansible_distribution_major_version }}/{{ ansible_architecture }}/foreman-release.rpm
        state: installed

    - name: Clean yum metadata
      command: yum clean all

    - name: Update all packages
      package:
        name: '*'
        state: latest

    - name: Run the installer
      shell: foreman-installer

As you can see, it will only update foreman repo

When you going to check in Katello > Administer > About
it only shows foreman Version

If you look at katello > Infrastructure > Smart Proxies
It’s showing status > green

when you look at a smart proxy, it only shows foreman Version

image

According to Upgrade docs, i need to also Update Katello Repo
https://docs.theforeman.org/3.10/Upgrading_Project/index-katello.html#upgrading_smart-proxy_server_upgrading-connected

So we need to manually update Katello Repo on Smartproxies?
Or am i missing something

I’m on Katello 4.12.1 fully upgraded

greetings
Dominik

Most likely you’d you’d be better off doing the whole upgrade manually for now. As you noticed, the playbook really only considers non-katello deployments.