Skip to content

REve-Workshop/ansible-quicklisp-role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role for QuickLisp Installation

Introduction

This Ansible role allows to install or update the QuickLisp application.

This role expects:

  • The SBCL Common Lisp implementation to be installed.
  • The target to have an access to the repositories containing the sources of quicklisp and/or the packages available through it.

Installation

Add this repository as a role directory inside an existing ansible project.

Usage

The following variables can be overloaded in your playbook:
  • ql_url, the URL of the quicklisp source file. [Default: https://beta.quicklisp.org/quicklisp.lisp]
  • working_dir, the working directory where to download the source. [Default: /usr/local/src/quicklisp ]
  • user_name: The user to impersonate to install/update quicklisp and the Common Lisp packages. [Default: builder ].
  • user_home: The user home directory. [Default: /home/{{ user_name }} ].

The role is to be execute as the root user on the target hosts.

Example playbook

---
- host: all
  gather_facts: False
  tasks:
    - name: Deploy QuickLisp
      include_role:
        name: quicklisp
      vars:
        working_directory: "/var/lib/src/git_repos/ql"