ansible: Activate supplementary SLES repos using suseconnect
[lttng-ci.git] / automation / ansible / roles / common / tasks / setup-Suse.yml
1 ---
2 - name: Connect SLES Repo
3 when: ansible_distribution == 'SLES'
4 ansible.builtin.command:
5 argv: ['suseconnect', '-p', "{{item}}/{{ansible_distribution_version}}/{{ansible_architecture}}"]
6 with_items: "{{common_sles_connect_repos}}"
7
8 - name: Ensure common patterns are installed.
9 zypper: "name={{ common_patterns }} type=pattern state=present update_cache=yes"
10
11 - name: Ensure common packages are installed.
12 zypper: "name={{ common_packages }} type=package state=present update_cache=yes"
This page took 0.029878 seconds and 4 git commands to generate.