File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 197197 "container" : " quay.io/centos-bootc/centos-bootc:stream10" ,
198198 "upload_results" : true ,
199199 "setup" : []
200+ },
201+ {
202+ "name" : " leap-15.6" ,
203+ "source" : " https://download.opensuse.org/repositories/Cloud:/Images:/Leap_15.6/images/openSUSE-Leap-15.6.x86_64-NoCloud.qcow2" ,
204+ "upload_results" : true ,
205+ "min_ansible_version" : " 2.16" ,
206+ "setup" : [
207+ {
208+ "name" : " Bootstrap python on Leap" ,
209+ "hosts" : " all" ,
210+ "gather_facts" : false ,
211+ "become" : true ,
212+ "tasks" : [
213+ {
214+ "name" : " Update repository metadata" ,
215+ "raw" : " LANG=C zypper -n refresh" ,
216+ "register" : " zypper_refresh_output" ,
217+ "changed_when" : " 'Retrieving repository' in zypper_refresh_output.stdout"
218+ },
219+ {
220+ "name" : " Install python311" ,
221+ "raw" : " LANG=C zypper -n install python311" ,
222+ "register" : " zypper_install_output" ,
223+ "changed_when" : " 'Nothing to do' not in zypper_install_output.stdout"
224+ }
225+ ]
226+ }
227+ ]
200228 }
201229 ]
202230}
You can’t perform that action at this time.
0 commit comments