Skip to content

joshbeard/ansible-role-agate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role for Agate

An Ansible role for managing the installation of the Agate Gemini service.

Visit my Gemini capsule at gemini://jbeard.co

What This Role Does

  • Downloads and extracts the Agate release from GitHub.
  • Copies the agate executable to /usr/local/bin.
  • Manages the Agate configuration directory.
  • Manages an rsyslog and logrotate configuration.
  • Manages the service.

Variables

Refer to defaults/main.yml.

agate_hosts

Required list of hostnames to serve.

agate_version

The version number (X.Y.Z) of Agate to download and install. This should match a release on GitHub.

Default : 3.2.3

agate_source

The URL for the Git repository to clone for installation.

Default: "https://github.com/mbrubeck/agate/releases/download/v{{ agate_version }}/agate.x86_64-unknown-linux-gnu.gz"

agate_dest

The absolute path to install the agate executable to.

Default: /usr/local/bin/agate

agate_data_dir

The absolute path to the root content directory. A '.certificates' and 'content' sub-directory will be created here.

Default: /srv/gemini

agate_systemd_dir

The absolute path to the systemd configuration directory.

Default: /etc/systemd/system

agate_user

The system user to run the Agate Gemini server as and own the content directories.

Default: gemini

agate_group

The system group to run the Agate Gemini server as and own the content directories.

Default: gemini

agate_manage_user

Toggles managing the user with this role

Default: true

agate_start_args

Optional startup arguments for Agate.

Default: none