This role provides support for handling Lua environments and packages via LuaDist. Includes an Ansible module for installing and running LuaDist commands.
Note: LuaDist is no longer maintained. Consider using LuaRocks instead.
List of packages to install in the Lua environment. These packages
must be present in the repository specified in the dists_repo
variable.
Where to create the Lua environment. All Lua related packages will be installed in this directory. This must be an absolute path.
Type of dists to allow when installing packages. Values can be:
all
: All types of dists are allowed.source
: Only dists that are built from source are allowed.binary
: Only dists that are distributed as binaries are allowed.
Directory to use as package repository. Must follow LuaDist guidelines.
None
- hosts: all
tasks:
- name: Install Lua environment with packages
import_role:
name: luadist
vars:
env_directory: "/opt"
allow_dists: "all"
packages:
- md5
- lanes
MIT License.