Skip to content

Commit

Permalink
Reintroduce condition about SLES 12 Advanced Systems Modules (#322)
Browse files Browse the repository at this point in the history
Reintroduce couple of condition removed by mpagot/qe-sap-deployment@fc7ccbb
This is to avoid SUSEConnect call in PAYG images
  • Loading branch information
mpagot authored Feb 28, 2025
1 parent 811f3c5 commit 120aefd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ansible/playbooks/registration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@
delay: 60
when:
- ansible_facts['distribution_major_version'] == "12"
- not_registered_found
- "(is_registercloudguest_bin.rc != 0) or (use_suseconnect | bool)"

- name: Add SLES 12 public cloud module
ansible.builtin.command: SUSEConnect -p sle-module-public-cloud/12/{{ ansible_facts['architecture'] }}
Expand Down

0 comments on commit 120aefd

Please sign in to comment.