projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ansible: Switch SLES product registrations to use common task
[lttng-ci.git]
/
automation
/
ansible
/
roles
/
developer
/
tasks
/
setup-Suse.yml
diff --git
a/automation/ansible/roles/developer/tasks/setup-Suse.yml
b/automation/ansible/roles/developer/tasks/setup-Suse.yml
index 1373dff38b595e678e3f9b74e463529b2b50dd5b..bda46e9f438e195975827f88219de9285af56829 100644
(file)
--- a/
automation/ansible/roles/developer/tasks/setup-Suse.yml
+++ b/
automation/ansible/roles/developer/tasks/setup-Suse.yml
@@
-2,6
+2,9
@@
- name: Activate required products
when: ansible_distribution == 'SLES'
- name: Activate required products
when: ansible_distribution == 'SLES'
- ansible.builtin.command:
- argv: ['suseconnect', '-p', "{{item}}/{{ansible_distribution_version}}/{{ansible_architecture}}"]
- with_items: "{{developer_sles_products|default([])}}"
+ include_role:
+ name: suse
+ tasks_from: product
+ loop: "{{developer_sles_products|default([])}}"
+ loop_control:
+ loop_var: 'product'
This page took
0.022425 seconds
and
4
git commands to generate.