Skip to content

asciifaceman/ansible.blender-crowd-renderfarm

Repository files navigation

Blender Crowd Renderfarm

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

Help Wanted / TODO

  • Ansible side
    • Multi-OS support
    • Downloading source from CR instead of using local file (having issues with the download redirect)

Requirements

  • Ansible 2.6+ (py3 preferable)
  • Ubuntu 18.04
  • Strong internet connection

Role Variables

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
  • 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

Dependencies

  • ansible
    • naftulikay.degoss
      • Used for testing in local vagrant instance

Example Playbook

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 }

License

BSD

Author Information

Charles Corbett

About

Ansible role for installing Blender with crowd render

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published