Change-Id: I25ce4a9c6a4d47efc478b559adf7bef3c37660fa
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
---
+- name: Connect SLES Repo
+ when: ansible_distribution == 'SLES'
+ ansible.builtin.command:
+ argv: ['suseconnect', '-p', "{{item}}/{{ansible_distribution_version}}/{{ansible_architecture}}"]
+ with_items: "{{common_sles_connect_repos}}"
+
- name: Ensure common patterns are installed.
zypper: "name={{ common_patterns }} type=pattern state=present update_cache=yes"
- rsync
- sudo
- vim
+
+common_sles_connect_repos:
+ - sle-module-basesystem
+ - sle-module-desktop-applications
+ - sle-module-development-tools
+ - sle-module-python3
- sudo
- tree
- vim
+
+common_sles_connect_repos: []