Skip to content

Commit 2604531

Browse files
HVSharma12richm
authored andcommitted
add openSUSE Leap 15.6
1 parent 55e2f17 commit 2604531

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

download/linux-system-roles.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,34 @@
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
}

0 commit comments

Comments
 (0)