Commit f392f386 authored by Ryan Taylor's avatar Ryan Taylor

new template method

parent ec5c5f35
---
# For initial image configuration.
# extra setup for GPU nodes if applicable
#- hosts: template
# roles:
# - nvidia-gpu-setup
# become: yes
# become_user: root
# NOTE: when making an image from a template VM, need to remove
# the initial slot config from config.xml so that
# slot auto config (incl. for GPUs) works.
# i.e. config.xml should be:
# <config>
#
# <fold-anon v='false'/>
#
# </config>
# Prepare an image by doing a subset of config on a template node.
# Then, save a snapshot of it and instantiate all other VMs from that.
- hosts: template
roles:
- nvidia-gpu-setup
vars:
make_image: true
become: yes
become_user: root
- hosts: template
roles:
- folding-client
vars:
apply_updates: true
make_image: true
become: yes
become_user: root
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment