projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ansible: Activate supplementary SLES repos using suseconnect
[lttng-ci.git]
/
automation
/
ansible
/
roles
/
common
/
tasks
/
setup-Suse.yml
diff --git
a/automation/ansible/roles/common/tasks/setup-Suse.yml
b/automation/ansible/roles/common/tasks/setup-Suse.yml
index 85f1e21e9eff96ea0cf1e7c295e476c42cbc9912..da745d855bd913359c299e0bcd0f7ab722b39da7 100644
(file)
--- a/
automation/ansible/roles/common/tasks/setup-Suse.yml
+++ b/
automation/ansible/roles/common/tasks/setup-Suse.yml
@@
-1,4
+1,10
@@
---
---
+- 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"
- name: Ensure common patterns are installed.
zypper: "name={{ common_patterns }} type=pattern state=present update_cache=yes"
This page took
0.023703 seconds
and
4
git commands to generate.