Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ansible-linux-system-roles for 
openSUSE:Factory checked in at 2026-11-13 18:35:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ansible-linux-system-roles (Old)
 and      /work/SRC/openSUSE:Factory/.ansible-linux-system-roles.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ansible-linux-system-roles"

Fri Nov 13 18:35:13 2026 rev:18 rq:1397249 version:1.6.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ansible-linux-system-roles/ansible-linux-system-roles.changes
    2026-09-07 11:35:05.891120313 +0200
+++ 
/work/SRC/openSUSE:Factory/.ansible-linux-system-roles.new.1251/ansible-linux-system-roles.changes
  2026-11-13 18:39:10.461059129 +0100
@@ -1,0 +2,100 @@
+Wed Nov 11 19:46:51 UTC 2026 - Harshvardhan Sharma 
<[email protected]>
+
+- Update to version 1.6.0: upgrade all roles; fix the ssh role on
+  SLE 16.1 and semanage-based selinux settings on SLE 16
+- The 18 roles from linux-system-roles are built from their
+  <version>-suse tags: the named upstream release plus the upstream
+  changes up to 2026-11-11. ha_cluster, mssql and auto_maintenance
+  are the unmodified upstream releases
+- Roles check their variables against an argument spec; a value of
+  the wrong type stops the role before it changes anything (not yet
+  in ha_cluster and mssql)
+- postgresql on SUSE installs postgresqlNN-server and honours
+  postgresql_version (16, 17 or 18, default 18). On a host with
+  another major version installed the role stops with a message and
+  changes nothing until postgresql_version is set to that version;
+  a server set up by the previous role version on SLE 15 SP7 is
+  version 17
+- aide, certificate, journald, keylime_server, logging, network,
+  postfix and postgresql handle transactional hosts like the other
+  roles: with packages staged they reboot if
+  <role>_transactional_update_reboot_ok is true and fail if it is
+  unset
+- Roles write a begin and a success record of each run to syslog
+  (new in 16 roles; not in himmelblau, mssql and suseconnect)
+- Update role versions:
+  - firewall 1.11.6 -> 1.14.0:
+    - add firewalld policies
+    - keep the ipset family when an ipset is removed and follow
+      FlushAllOnReload for runtime ipsets
+    - rich rule handling and firewall_config reset are idempotent
+    - install python311-firewall on openSUSE Leap 15
+  - timesync 1.11.4 -> 1.15.0:
+    - support SLES 16 and openSUSE Leap 16
+    - support key and keyfile for NTP authentication
+    - add timesync_restart_immediate
+  - journald 1.5.2 -> 1.8.0
+  - ssh 1.7.1 -> 1.9.1:
+    - fix the role on SLE 16.1: create /etc/ssh/ssh_config.d when
+      it is missing
+    - on SUSE, a written /etc/ssh/ssh_config keeps the vendor
+      includes and defaults
+    - use the primary group of ssh_user for ~/.ssh
+  - crypto_policies 1.5.2 -> 1.9.0:
+    - add crypto_policies_force_regenerate
+  - systemd 1.3.7 -> 1.5.2:
+    - add file_content for unit files and drop-ins
+    - fix unit state reporting with ansible-core 2.19 and later
+  - postfix 1.6.6 -> 1.10.0:
+    - add postfix_secure_logging and postfix_additional_packages
+  - postgresql 1.5.1 -> 1.9.0:
+    - add postgresql_secure_logging
+  - certificate 1.5.0 -> 1.10.0:
+    - manage system certificate trust, CA certificates and
+      blocklist entries
+    - pass an issuer to the provider
+  - selinux 1.11.1 -> 1.13.1:
+    - install semanage on SLES 16 and openSUSE Leap 16; booleans,
+      ports, logins, file contexts and the purge options failed
+      without it
+    - load policy modules before they are referenced
+    - add ignore_module_cache
+    - report module changes in check mode
+  - podman 1.9.2 -> 1.14.3:
+    - add podman_run_as_ansible_user
+    - restart services when their dependencies change
+    - prune unused images before pulling new ones
+    - support kube specs with several Kubernetes objects
+    - create host directories for quadlet Volume entries
+  - cockpit 1.7.4 -> 1.10.0:
+    - install cockpit-bootloader on SLE 16.1; SLES for SAP 16 and
+      openSUSE Leap 16 use the SLES 16 package set
+  - aide 1.2.5 -> 1.5.0:
+    - better check mode support
+  - keylime_server 1.2.4 -> 1.4.1
+  - kernel_settings 1.3.8 -> 1.6.0
+  - network 1.18.0 -> 1.21.1:
+    - no package install on every run on SLE 16
+    - retry reading an unstable device
+    - describe NetworkManager changes in check mode
+  - sudo 1.2.9 -> 1.5.0:
+    - support continuation lines in scan_sudoers
+  - logging 1.16.0 -> 1.17.1
+  - ha_cluster 1.31.3 -> 1.32.2:
+    - the upstream release; no change to the crmsh code SUSE uses
+  - suseconnect 1.0.2 -> 1.0.3:
+    - mask the registration code in the registration failure
+      message
+    - support SLES 16.1 Immutable
+    - require ansible-core 2.18 or later
+  - auto_maintenance 1.120.5 -> 2.5.0 (build tool, not in the
+    package)
+  - himmelblau 1.2.0 -> 2.1.0 (SLE 16.1 only):
+    - require ansible-core 2.20 or later
+    - check login scoping on every run, also with
+      configure_pam: false, and refuse an unsafe PAM stack
+    - transactional hosts: no reboot on a re-run while packages
+      are staged but not yet live
+    - write a list in himmelblau_extra_config comma-separated
+
+-------------------------------------------------------------------

Old:
----
  aide-1.2.5.tar.gz
  auto_maintenance-1.120.5.tar.gz
  certificate-1.5.0.tar.gz
  cockpit-1.7.4.tar.gz
  crypto_policies-1.5.2.tar.gz
  firewall-1.11.6.tar.gz
  ha_cluster-1.31.3.tar.gz
  himmelblau-1.2.0.tar.gz
  journald-1.5.2.tar.gz
  kernel_settings-1.3.8.tar.gz
  keylime_server-1.2.4.tar.gz
  logging-1.16.0.tar.gz
  network-1.18.0.tar.gz
  podman-1.9.2.tar.gz
  postfix-1.6.6.tar.gz
  postgresql-1.5.1.tar.gz
  selinux-1.11.1.tar.gz
  ssh-1.7.1.tar.gz
  sudo-1.2.9.tar.gz
  suseconnect-1.0.2.tar.gz
  systemd-1.3.7.tar.gz
  timesync-1.11.4.tar.gz

New:
----
  aide-1.5.0.tar.gz
  auto_maintenance-2.5.0.tar.gz
  certificate-1.10.0.tar.gz
  cockpit-1.10.0.tar.gz
  crypto_policies-1.9.0.tar.gz
  firewall-1.14.0.tar.gz
  ha_cluster-1.32.2.tar.gz
  himmelblau-2.1.0.tar.gz
  journald-1.8.0.tar.gz
  kernel_settings-1.6.0.tar.gz
  keylime_server-1.4.1.tar.gz
  logging-1.17.1.tar.gz
  network-1.21.1.tar.gz
  podman-1.14.3.tar.gz
  postfix-1.10.0.tar.gz
  postgresql-1.9.0.tar.gz
  selinux-1.13.1.tar.gz
  ssh-1.9.1.tar.gz
  sudo-1.5.0.tar.gz
  suseconnect-1.0.3.tar.gz
  systemd-1.5.2.tar.gz
  timesync-1.15.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ansible-linux-system-roles.spec ++++++
--- /var/tmp/diff_new_pack.RyA72c/_old  2026-11-13 18:39:14.997251052 +0100
+++ /var/tmp/diff_new_pack.RyA72c/_new  2026-11-13 18:39:14.999251137 +0100
@@ -17,29 +17,29 @@
 
 
 # Define individual versions for each role
-%global firewall_version 1.11.6
-%global timesync_version 1.11.4
-%global journald_version 1.5.2
-%global ssh_version 1.7.1
-%global crypto_policies_version 1.5.2
-%global systemd_version 1.3.7
-%global ha_cluster_version 1.31.3
+%global firewall_version 1.14.0
+%global timesync_version 1.15.0
+%global journald_version 1.8.0
+%global ssh_version 1.9.1
+%global crypto_policies_version 1.9.0
+%global systemd_version 1.5.2
+%global ha_cluster_version 1.32.2
 %global mssql_version 2.6.6
-%global suseconnect_version 1.0.2
-%global auto_maintenance_version 1.120.5
-%global certificate_version 1.5.0
-%global selinux_version 1.11.1
-%global podman_version 1.9.2
-%global cockpit_version 1.7.4
-%global aide_version 1.2.5
-%global postfix_version 1.6.6
-%global keylime_server_version 1.2.4
-%global postgresql_version 1.5.1
-%global kernel_settings_version 1.3.8
-%global network_version 1.18.0
-%global sudo_version 1.2.9
-%global logging_version 1.16.0
-%global himmelblau_version 1.2.0
+%global suseconnect_version 1.0.3
+%global auto_maintenance_version 2.5.0
+%global certificate_version 1.10.0
+%global selinux_version 1.13.1
+%global podman_version 1.14.3
+%global cockpit_version 1.10.0
+%global aide_version 1.5.0
+%global postfix_version 1.10.0
+%global keylime_server_version 1.4.1
+%global postgresql_version 1.9.0
+%global kernel_settings_version 1.6.0
+%global network_version 1.21.1
+%global sudo_version 1.5.0
+%global logging_version 1.17.1
+%global himmelblau_version 2.1.0
 
 %if 0%{?suse_version} >= 1600
 %global sle16 1
@@ -51,7 +51,7 @@
 %define ansible_collection_path 
%{_datadir}/ansible/collections/ansible_collections/suse/%{ansible_collection_name}
 
 Name:           ansible-linux-system-roles
-Version:        1.5.0
+Version:        1.6.0
 Release:        0
 Summary:        Collection of Ansible roles for Linux system management
 License:        GPL-3.0-or-later

++++++ aide-1.2.5.tar.gz -> aide-1.5.0.tar.gz ++++++
++++ 5003 lines of diff (skipped)

++++++ auto_maintenance-1.120.5.tar.gz -> auto_maintenance-2.5.0.tar.gz ++++++
++++ 2119 lines of diff (skipped)

++++++ certificate-1.5.0.tar.gz -> certificate-1.10.0.tar.gz ++++++
++++ 8048 lines of diff (skipped)

++++++ cockpit-1.7.4.tar.gz -> cockpit-1.10.0.tar.gz ++++++
++++ 5186 lines of diff (skipped)

++++++ crypto_policies-1.5.2.tar.gz -> crypto_policies-1.9.0.tar.gz ++++++
++++ 5268 lines of diff (skipped)

++++++ firewall-1.11.6.tar.gz -> firewall-1.14.0.tar.gz ++++++
++++ 17447 lines of diff (skipped)

++++++ ha_cluster-1.31.3.tar.gz -> ha_cluster-1.32.2.tar.gz ++++++
++++ 3494 lines of diff (skipped)

++++++ himmelblau-1.2.0.tar.gz -> himmelblau-2.1.0.tar.gz ++++++
++++ 4821 lines of diff (skipped)

++++++ journald-1.5.2.tar.gz -> journald-1.8.0.tar.gz ++++++
++++ 4571 lines of diff (skipped)

++++++ kernel_settings-1.3.8.tar.gz -> kernel_settings-1.6.0.tar.gz ++++++
++++ 5705 lines of diff (skipped)

++++++ keylime_server-1.2.4.tar.gz -> keylime_server-1.4.1.tar.gz ++++++
++++ 4538 lines of diff (skipped)

++++++ logging-1.16.0.tar.gz -> logging-1.17.1.tar.gz ++++++
++++ 6511 lines of diff (skipped)

++++++ network-1.18.0.tar.gz -> network-1.21.1.tar.gz ++++++
++++ 10966 lines of diff (skipped)

++++++ podman-1.9.2.tar.gz -> podman-1.14.3.tar.gz ++++++
++++ 10365 lines of diff (skipped)

++++++ postfix-1.6.6.tar.gz -> postfix-1.10.0.tar.gz ++++++
++++ 4705 lines of diff (skipped)

++++++ postgresql-1.5.1.tar.gz -> postgresql-1.9.0.tar.gz ++++++
++++ 4479 lines of diff (skipped)

++++++ selinux-1.11.1.tar.gz -> selinux-1.13.1.tar.gz ++++++
++++ 8632 lines of diff (skipped)

++++++ ssh-1.7.1.tar.gz -> ssh-1.9.1.tar.gz ++++++
++++ 5410 lines of diff (skipped)

++++++ sudo-1.2.9.tar.gz -> sudo-1.5.0.tar.gz ++++++
++++ 4979 lines of diff (skipped)

++++++ suseconnect-1.0.2.tar.gz -> suseconnect-1.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible-suseconnect-1.0.2-suse/README.md 
new/ansible-suseconnect-1.0.3-suse/README.md
--- old/ansible-suseconnect-1.0.2-suse/README.md        2026-07-15 
07:31:05.000000000 +0200
+++ new/ansible-suseconnect-1.0.3-suse/README.md        2026-11-08 
00:32:26.000000000 +0100
@@ -10,7 +10,7 @@
 - Activation or removal of specific add-on products or modules.
 - Deregistration of systems or products.
 - Compatibility with public cloud environments (e.g., prevent registration 
against SCC for PAYG instances, use `registercloudguest` where appropriate).
-- Support for transactional update register on SL-Micro.
+- Support for transactional update register on SL-Micro and SLES Immutable.
 - Precheck tasks to ensure a smooth registration process.
 - Honors the system proxy configuration from `/etc/sysconfig/proxy`.
 
@@ -18,12 +18,13 @@
 
 Before using this role, ensure that you have the following:
 
+- ansible-core 2.18 or later on the controller.
 - A valid registration key for your SUSE products, which can be obtained with 
your SUSE subscription.
 - For some products, additional registration keys are required.
 - The role must run as **root**. It does not escalate privileges itself, so run
  it with `become: true` (or connect as root).
 - The `SUSEConnect` binary must be present and executable at 
`/usr/sbin/SUSEConnect`.
-- A SUSE operating system (`ansible_os_family == "Suse"`) or SL-Micro.
+- A SUSE operating system (`ansible_facts['os_family'] == "Suse"`) or SL-Micro.
 - On public cloud instances only: the `python-instance-billing-flavor-check`
  package must be installed. The role uses it to detect PAYG instances and will
  fail on a cloud instance if it is missing.
@@ -39,7 +40,7 @@
 - **Description**: Defines the base product registration. If omitted (or if 
`key` is not set), registration is skipped entirely. The dictionary should 
include the following keys:
   - `product`
     - **Type**: string
-    - **Description**: Internal product name, see [PRODUCTS.md](PRODUCTS.md) 
for a list, defaults to (`ansible_distribution`). This is used to look up the 
current registration status and decide whether registration is needed; it is 
not passed to `SUSEConnect`.
+    - **Description**: Internal product name, see [PRODUCTS.md](PRODUCTS.md) 
for a list, defaults to the distribution name 
(`ansible_facts['distribution']`). This is used to look up the current 
registration status and decide whether the system needs to be registered or 
deregistered; it is not passed to `SUSEConnect`.
     - **Required**: No
   - `key`
     - **Type**: string
@@ -53,7 +54,7 @@
 ### suseconnect_subscriptions
 
 - **Type**: list
-- **Description**: List of additional modules or products to be added or 
removed on the target system. The system must already be registered before 
modules can be activated.
+- **Description**: List of additional modules or products to be added or 
removed on the target system. The system must already be registered before 
modules can be activated. On a transactional system (SL-Micro, SLES Immutable), 
activating or removing a module takes effect at the next reboot.
 
   Each item is a dictionary containing the following keys:
 
@@ -68,11 +69,11 @@
     - **Default**: enabled
   - `version`
     - **Type**: string
-    - **Description**: Version of the product to be activated, defaults to the 
base OS version (`ansible_distribution_version`).
+    - **Description**: Version of the product to be activated, defaults to the 
base OS version (`ansible_facts['distribution_version']`).
     - **Required**: No
   - `arch`
     - **Type**: string
-    - **Description**: Architecture of the product, defaults to the OS 
architecture (`ansible_machine`).
+    - **Description**: Architecture of the product, defaults to the OS 
architecture (`ansible_facts['machine']`).
     - **Required**: No
   - `key`
     - **Type**: string
@@ -91,7 +92,7 @@
 ### suseconnect_deregister
 
 - **Type**: bool
-- **Description**: Whether to deregister the system (default: false).
+- **Description**: Whether to deregister the system (default: false). On a 
transactional system (SL-Micro, SLES Immutable), deregistration takes effect at 
the next reboot when a module is installed or another change is pending.
 
 ## Proxy Support
 
@@ -121,7 +122,6 @@
   vars:
     suseconnect_base_product:
       key: '{{ sles_registration_key }}'
-      product: '{{ ansible_distribution }}'
 
     suseconnect_subscriptions:
       - {name: "sle-module-containers", state: enabled}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ansible-suseconnect-1.0.2-suse/meta/argument_specs.yml 
new/ansible-suseconnect-1.0.3-suse/meta/argument_specs.yml
--- old/ansible-suseconnect-1.0.2-suse/meta/argument_specs.yml  1970-01-01 
01:00:00.000000000 +0100
+++ new/ansible-suseconnect-1.0.3-suse/meta/argument_specs.yml  2026-11-08 
00:32:26.000000000 +0100
@@ -0,0 +1,81 @@
+---
+argument_specs:
+  main:
+    short_description: Register a SUSE system with SUSEConnect.
+    description: >
+      Registers and deregisters a SUSE system with SUSEConnect, and
+      activates or removes add-on products and modules.
+    options:
+      suseconnect_base_product:
+        type: dict
+        description: >
+          The base product registration. If omitted, empty, or if `key` is
+          not set, registration is skipped.
+        options:
+          product:
+            type: str
+            description: >
+              Internal product name, see PRODUCTS.md. Used to look up the
+              current registration status; it is not passed to SUSEConnect.
+          key:
+            type: str
+            no_log: true
+            description: Registration key for the product.
+          email:
+            type: str
+            description: Email address used in SCC for registration.
+          version:
+            type: str
+            description: >
+              Not used. Accepted so that playbooks written for releases
+              before 1.0.2 keep working.
+          arch:
+            type: str
+            description: >
+              Not used. Accepted so that playbooks written for releases
+              before 1.0.2 keep working.
+      suseconnect_subscriptions:
+        type: list
+        elements: dict
+        default: []
+        description: >
+          Additional modules or products to add or remove. The system must
+          already be registered before modules can be activated.
+        options:
+          name:
+            type: str
+            required: true
+            description: Internal product name, see PRODUCTS.md.
+          state:
+            type: str
+            choices:
+              - enabled
+              - disabled
+            default: enabled
+            description: Whether the subscription is enabled or disabled.
+          version:
+            type: str
+            description: >
+              Version of the product to activate. Defaults to the base OS
+              version.
+          arch:
+            type: str
+            description: >
+              Architecture of the product. Defaults to the OS architecture.
+          key:
+            type: str
+            no_log: true
+            description: Additional registration key, if the product needs one.
+          email:
+            type: str
+            description: Email address used in SCC for registration.
+      suseconnect_reregister:
+        type: bool
+        default: false
+        description: >
+          Force re-registration of the base product, regardless of the
+          current registration status. Requires `suseconnect_base_product.key`.
+      suseconnect_deregister:
+        type: bool
+        default: false
+        description: Deregister the system.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible-suseconnect-1.0.2-suse/meta/main.yml 
new/ansible-suseconnect-1.0.3-suse/meta/main.yml
--- old/ansible-suseconnect-1.0.2-suse/meta/main.yml    2026-07-15 
07:31:05.000000000 +0200
+++ new/ansible-suseconnect-1.0.3-suse/meta/main.yml    2026-11-08 
00:32:26.000000000 +0100
@@ -6,7 +6,7 @@
   description: Register Your SLES System With SUSE Customer Center
   company: Suse
   license: GPLv3
-  min_ansible_version: "2.9"
+  min_ansible_version: "2.18"
   platforms:
     - name: SLES
       versions:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible-suseconnect-1.0.2-suse/tasks/deregister.yml 
new/ansible-suseconnect-1.0.3-suse/tasks/deregister.yml
--- old/ansible-suseconnect-1.0.2-suse/tasks/deregister.yml     2026-07-15 
07:31:05.000000000 +0200
+++ new/ansible-suseconnect-1.0.3-suse/tasks/deregister.yml     2026-11-08 
00:32:26.000000000 +0100
@@ -1,7 +1,7 @@
 ---
 - name: Deregister system
   when:
-    - __suseconnect_status[suseconnect_base_product['product'] | 
default(ansible_distribution)]['status'] == 'Registered'
+    - __suseconnect_status[suseconnect_base_product['product'] | 
default(ansible_facts['distribution'])]['status'] == 'Registered'
   ansible.builtin.command:
     cmd: >-
       {{ __suseconnect_deregister_command }}
@@ -9,7 +9,7 @@
     __suseconnect_deregister_command: >-
       {% if __suseconnect_is_registercloudguest %}
         {{ __suseconnect_commands_dict.deregister.cloud }}
-      {% elif ansible_distribution == 'SL-Micro' and not 
__suseconnect_is_registercloudguest %}
+      {% elif __suseconnect_is_transactional and not 
__suseconnect_is_registercloudguest %}
         {{ __suseconnect_commands_dict.deregister.transactional }}
       {% else %}
         {{ __suseconnect_commands_dict.deregister.general }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ansible-suseconnect-1.0.2-suse/tasks/manage-subscriptions.yml 
new/ansible-suseconnect-1.0.3-suse/tasks/manage-subscriptions.yml
--- old/ansible-suseconnect-1.0.2-suse/tasks/manage-subscriptions.yml   
2026-07-15 07:31:05.000000000 +0200
+++ new/ansible-suseconnect-1.0.3-suse/tasks/manage-subscriptions.yml   
2026-11-08 00:32:26.000000000 +0100
@@ -2,18 +2,65 @@
 - name: Call suseconnect status
   ansible.builtin.include_tasks: suseconnect-status.yml
 
+# `-s` lags activation until reboot on transactional systems; an unregistered 
system has nothing to list
+- name: List extensions and their activation state
+  when: __suseconnect_status[ansible_facts['distribution']]['status'] | 
default('') == 'Registered'
+  ansible.builtin.command:
+    cmd: "{{ __suseconnect_binary }} --list-extensions --json"
+  register: __suseconnect_extensions_list
+  changed_when: false
+  failed_when: false
+  check_mode: false
+  no_log: "{{ __suseconnect_no_log }}"
+  environment: "{{
+    {} if __suseconnect_is_registercloudguest
+      else (__suseconnect_proxy_env | default({}))
+    }}"  # do not set proxy for cloud commands
+
+- name: Fail if the extension state could not be read
+  when: __suseconnect_extensions_list is not skipped
+  ansible.builtin.assert:
+    that: __suseconnect_extensions_list.rc == 0
+    fail_msg: >-
+      SUSEConnect --list-extensions --json failed with rc {{ 
__suseconnect_extensions_list.rc }}
+      on a registered system; run it on the host to see the error.
+
+- name: Collect the activated extensions
+  ansible.builtin.set_fact:
+    __suseconnect_activated_extensions: "{{ 
__suseconnect_activated_csv.split(',') | select | list }}"
+  vars:
+    # SCC nests extensions a few levels deep; 8 bounds the walk with headroom
+    __suseconnect_activated_csv: >-
+      {%- set top = __suseconnect_extensions_list.stdout | default('[]') | 
from_json -%}
+      {%- set ns = namespace(level=([top] if top is mapping else top), 
found=[]) -%}
+      {%- for _depth in range(8) -%}
+      {%- set ns.found = ns.found + (ns.level | selectattr('activated', 
'defined') | selectattr('activated')
+          | map(attribute='identifier') | list) -%}
+      {%- set ns.level = ns.level | map(attribute='extensions', default=[]) | 
flatten(levels=1) -%}
+      {%- endfor -%}
+      {{- ns.found | join(',') -}}
+
+- name: Check whether the running snapshot is the one that boots next
+  when: __suseconnect_is_transactional
+  ansible.builtin.command:
+    cmd: snapper --csvout list --columns active,default
+  register: __suseconnect_snapshots
+  changed_when: false
+  check_mode: false
+
 - name: Manage modules and extensions
   when:
-    - (item['state'] | default('enabled') == 'enabled' and 
(__suseconnect_status[item['name']] is not defined or
-      __suseconnect_status[item['name']]['status'] != 'Registered')) or
-      (item['state'] | default('enabled') == 'disabled' and 
__suseconnect_status[item['name']] is defined and
-      __suseconnect_status[item['name']]['status'] == 'Registered')
+    - (item['state'] | default('enabled') == 'enabled' and (item['name'] not 
in __suseconnect_activated_extensions or
+      ((not __suseconnect_is_transactional or 'yes,yes' in 
__suseconnect_snapshots.stdout_lines) and
+      (__suseconnect_status[item['name']] is not defined or
+      __suseconnect_status[item['name']]['status'] != 'Registered')))) or
+      (item['state'] | default('enabled') == 'disabled' and item['name'] in 
__suseconnect_activated_extensions)
   ansible.builtin.command:
     cmd: >-
       {{ __suseconnect_subscribe_command }} {{ __command_args }}
   vars:
     __suseconnect_subscribe_command: >-
-      {% if ansible_distribution == 'SL-Micro' and not 
__suseconnect_is_registercloudguest %}
+      {% if __suseconnect_is_transactional and not 
__suseconnect_is_registercloudguest %}
         {{ __suseconnect_commands_dict.subscription.transactional }}
       {% else %}
         {{ __suseconnect_commands_dict.subscription.general }}
@@ -23,8 +70,8 @@
         -d
       {% endif %}
       -p {{ [item['name'],
-          item['version'] | default(ansible_distribution_version),
-          item['arch'] | default(ansible_machine)]
+          item['version'] | default(ansible_facts['distribution_version']),
+          item['arch'] | default(ansible_facts['machine'])]
           | join('/')
       }}
       {% if item['key'] is defined %}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible-suseconnect-1.0.2-suse/tasks/prechecks.yml 
new/ansible-suseconnect-1.0.3-suse/tasks/prechecks.yml
--- old/ansible-suseconnect-1.0.2-suse/tasks/prechecks.yml      2026-07-15 
07:31:05.000000000 +0200
+++ new/ansible-suseconnect-1.0.3-suse/tasks/prechecks.yml      2026-11-08 
00:32:26.000000000 +0100
@@ -4,7 +4,7 @@
 
 - name: Fail if not running as root
   ansible.builtin.assert:
-    that: ansible_user_uid == 0
+    that: ansible_facts['user_uid'] == 0
     fail_msg: "This role needs to be executed as root."
 
 - name: Assert if SUSE connect is available
@@ -21,9 +21,21 @@
       - "This role needs SUSEConnect available and executable!"
       - "Ensure that {{ __suseconnect_binary }} is present"
 
+- name: Check if the system is transactional
+  ansible.builtin.stat:
+    path: /usr/sbin/transactional-update
+  register: __suseconnect_transactional_update_stat
+
+# transactional-update can also be installed on a read-write root, where it 
cannot register
+- name: Set flag if the system is transactional
+  ansible.builtin.set_fact:
+    __suseconnect_is_transactional: "{{ 
__suseconnect_transactional_update_stat.stat.exists and
+      'ro' in (ansible_facts['mounts'] | selectattr('mount', 'equalto', '/') | 
map(attribute='options')
+      | first | default('')).split(',') }}"
+
 - name: Fail if the os is not SUSE family
   ansible.builtin.assert:
-    that: ansible_os_family == "Suse" or ansible_distribution == "SL-Micro"
+    that: ansible_facts['os_family'] == "Suse" or 
ansible_facts['distribution'] == "SL-Micro"
     fail_msg: "This role is only supported on SUSE family operating systems."
 
 # On-prem Hyper-V has the identical product_name/chassis_vendor but a RANDOM 
asset tag,
@@ -33,12 +45,12 @@
   ansible.builtin.set_fact:
     __suseconnect_is_cloud_instance: >-
       {{
-        ("amazon" in ansible_system_vendor | lower) or
-        ("amazon" in ansible_product_name | lower) or
-        ("amazon" in ansible_product_version | lower) or
-        (ansible_product_name == 'Google Compute Engine') or
-        (ansible_chassis_asset_tag == 'ibmcloud') or
-      (ansible_chassis_asset_tag == '7783-7084-3265-9085-8269-3286-77')
+        ("amazon" in ansible_facts['system_vendor'] | lower) or
+        ("amazon" in ansible_facts['product_name'] | lower) or
+        ("amazon" in ansible_facts['product_version'] | lower) or
+        (ansible_facts['product_name'] == 'Google Compute Engine') or
+        (ansible_facts['chassis_asset_tag'] == 'ibmcloud') or
+      (ansible_facts['chassis_asset_tag'] == 
'7783-7084-3265-9085-8269-3286-77')
       }}
 
 - name: Prevent registration against scc for payg instances
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible-suseconnect-1.0.2-suse/tasks/register.yml 
new/ansible-suseconnect-1.0.3-suse/tasks/register.yml
--- old/ansible-suseconnect-1.0.2-suse/tasks/register.yml       2026-07-15 
07:31:05.000000000 +0200
+++ new/ansible-suseconnect-1.0.3-suse/tasks/register.yml       2026-11-08 
00:32:26.000000000 +0100
@@ -1,8 +1,8 @@
 ---
 - name: Register system
   when:
-    - ( __suseconnect_status[suseconnect_base_product['product'] | 
default(ansible_distribution)] is not defined or
-        __suseconnect_status[suseconnect_base_product['product'] | 
default(ansible_distribution)]['status'] != 'Registered'
+    - ( __suseconnect_status[suseconnect_base_product['product'] | 
default(ansible_facts['distribution'])] is not defined or
+        __suseconnect_status[suseconnect_base_product['product'] | 
default(ansible_facts['distribution'])]['status'] != 'Registered'
       ) or suseconnect_reregister
   block:
     - name: Register
@@ -13,7 +13,7 @@
         __suseconnect_register_command: >-
           {% if __suseconnect_is_registercloudguest %}
             {{ __suseconnect_commands_dict.register.cloud }}
-          {% elif ansible_distribution == 'SL-Micro' and not 
__suseconnect_is_registercloudguest %}
+          {% elif __suseconnect_is_transactional and not 
__suseconnect_is_registercloudguest %}
             {{ __suseconnect_commands_dict.register.transactional }}
           {% else %}
             {{ __suseconnect_commands_dict.register.general }}
@@ -36,5 +36,10 @@
       ansible.builtin.fail:
         msg: >-
           Registration failed. Please ensure that the registration code is 
valid!
-          Error details: {{ __suseconnect_register_result.stderr | default('No 
error output available') }}
+          Error details: {{ __suseconnect_details | replace(__suseconnect_key, 
'********') if __suseconnect_key
+            else __suseconnect_details }}
+      vars:
+        __suseconnect_key: "{{ suseconnect_base_product['key'] | string }}"
+        __suseconnect_details: >-
+          {{ __suseconnect_register_result.stderr | default('No error output 
available') }}
           {{ __suseconnect_register_result.stdout | default('No stdout output 
available') }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible-suseconnect-1.0.2-suse/vars/main.yml 
new/ansible-suseconnect-1.0.3-suse/vars/main.yml
--- old/ansible-suseconnect-1.0.2-suse/vars/main.yml    2026-07-15 
07:31:05.000000000 +0200
+++ new/ansible-suseconnect-1.0.3-suse/vars/main.yml    2026-11-08 
00:32:26.000000000 +0100
@@ -10,7 +10,8 @@
 __suseconnect_commands_dict:
   subscription:
     cloud: "registercloudguest"
-    transactional: "transactional-update register"
+    # --continue builds on a snapshot an earlier change left pending instead 
of replacing it
+    transactional: "transactional-update --continue register"
     general: "/usr/sbin/SUSEConnect"
   register:
     cloud: "registercloudguest"
@@ -18,5 +19,5 @@
     general: "/usr/sbin/SUSEConnect"
   deregister:
     cloud: "registercloudguest --clean"
-    transactional: "transactional-update register -d"
+    transactional: "transactional-update --continue register -d"
     general: "/usr/sbin/SUSEConnect -d"

++++++ systemd-1.3.7.tar.gz -> systemd-1.5.2.tar.gz ++++++
++++ 5715 lines of diff (skipped)

++++++ timesync-1.11.4.tar.gz -> timesync-1.15.0.tar.gz ++++++
++++ 7070 lines of diff (skipped)

Reply via email to