Designed for Ubuntu 18.04, sorry other OS's or Ref's are not supported at this time.
This role was designed for a packer build process to generate blender render node AMIs
As of right now:
- Installs Blender 2.81a
- Installs CrowdRender 2.2
- Adds CR2.2 to blender configuration
- Starts CR headless server
Also Installs:
- unzip
- libglu1
- libxi6
- libxrender1
- Ansible side
- Multi-OS support
- Downloading source from CR instead of using local file (having issues with the download redirect)
- Ansible 2.6+ (py3 preferable)
- Ubuntu 18.04
- Strong internet connection
Note: I have not tested if you can safely mix and match these variables, honestly this role was designed for a specific installation which places blender in /home/$USER/blender
and crowdrender in .config/blender/{{blender.version}}/scripts/addons
- localTesting
- Used by vagrant for local runs
- servicePath
- path to install the systemd UNIT file
- default
/etc/systemd/system
- serviceSuffix
- suffix for systemd unit file
- default
service
- awsGPU
- NOT IMPLEMENTED
- Toggle for whether to configure AWS P-series support (CUDA?)
- default
false
- blender
- version
- Should match the version used in directory paths
- default
2.81
- source
- Download source for this version of blender (linux x86_64 archived)
- checksum
- NOT IMPLEMENTED yet
- version
- crowdRender
- relativePath
- Installation path for crowd render
- default
.config/blender/{{blender.version}}/scripts/addons
- pathToStart
- Path to the server start file
- default
src/py_3_7/serv_int_start.py
- source
- Name of the local-to-role source file for crowdrender
- default
cr_022_bl280.zip
- relativePath
- ansible
- naftulikay.degoss
- Used for testing in local vagrant instance
- naftulikay.degoss
requirements.yml
---
- src: https://github.com/asciifaceman/ansible.blender-crowd-renderfarm
name: asciifaceman.blender-crowd-renderfarm
Note: CrAuthToken is not yet implemented due to ansible having a problem contacting CrowdRender's download properly.
- hosts: servers
roles:
- { role: asciifaceman.ansible.blender-crowd-renderfarm, CrAuthToken: token }
BSD
Charles Corbett