File tree Expand file tree Collapse file tree 1 file changed +0
-46
lines changed
Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Original file line number Diff line number Diff line change @@ -186,52 +186,6 @@ path using ``file`` as the url scheme e.g:
186186
187187 See :ref: `NVIDIA Role Configuration `.
188188
189- .. _NVIDIA OS Configuration :
190-
191- OS Configuration
192- ----------------
193-
194- Host OS configuration is done by using roles in the `stackhpc.linux <https://github.com/stackhpc/ansible-collection-linux >`_ ansible collection.
195-
196- Create a new playbook or update an existing on to apply the roles:
197-
198- .. code-block :: yaml
199- :caption : $KAYOBE_CONFIG_PATH/ansible/host-configure.yml
200-
201- ---
202- - hosts : iommu
203- tags :
204- - iommu
205- tasks :
206- - import_role :
207- name : stackhpc.linux.iommu
208- handlers :
209- - name : reboot
210- set_fact :
211- kayobe_needs_reboot : true
212-
213- - hosts : vgpu
214- tags :
215- - vgpu
216- tasks :
217- - import_role :
218- name : stackhpc.linux.vgpu
219- handlers :
220- - name : reboot
221- set_fact :
222- kayobe_needs_reboot : true
223-
224- - name : Reboot when required
225- hosts : iommu:vgpu
226- tags :
227- - reboot
228- tasks :
229- - name : Reboot
230- reboot :
231- reboot_timeout : 3600
232- become : true
233- when : kayobe_needs_reboot | default(false) | bool
234-
235189Ansible Inventory Configuration
236190-------------------------------
237191
You can’t perform that action at this time.
0 commit comments