antoniotorresm / ansible-role-luadist

Ansible role for handling Lua environment and packages via LuaDist (test).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

luadist Ansible role

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.

Role Variables

packages

List of packages to install in the Lua environment. These packages must be present in the repository specified in the dists_repo variable.

env_directory

Where to create the Lua environment. All Lua related packages will be installed in this directory. This must be an absolute path.

allow_dists

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.

dists_repo

Directory to use as package repository. Must follow LuaDist guidelines.

Dependencies

None

Example Playbook

- hosts: all
  tasks:
    - name: Install Lua environment with packages
      import_role:
        name: luadist
      vars:
        env_directory: "/opt"
        allow_dists: "all"
        packages:
          - md5
          - lanes

License

MIT License.

About

Ansible role for handling Lua environment and packages via LuaDist (test).

License:MIT License


Languages

Language:Shell 65.3%Language:Python 31.9%Language:HTML 2.8%