inofix.acme-tiny-install
Acme-Tiny Install
This is an Ansible role designed to install acme-tiny. It first tries the standard method for your Linux distribution, and if that doesn't work, it downloads the source directly from 'diafygi' on GitHub. You can change this behavior by providing a different URL or checksum.
This role should be executed on the machine that will also handle the inofix.acme-tiny-setup and inofix.acme-tiny-sign roles later.
Why not use an existing role?
- Read the "Promise" section below. We need reliability.
- This role works with maestro and needs to align with its logic. (However, you can use this role without maestro.)
State
UNSTABLE! We are currently transitioning from zwischenloesung.acme-tiny-install.
Promise
The role may change in the future, but we will only add features that keep it compatible with older versions.
If major changes are required, a new role will be created, likely with an 'ng' or version suffix.
Installation
To install the role, run:
# ansible-galaxy install inofix.acme-tiny-install
Requirements
- Ansible version >2.0
- Galaxy Role: inofix.yapkg
- Python2 or Python3 on the target host
- A generic UNIX system that follows the FHS (File Hierarchy Standard)
Role Variables
http_proxy
(optional, string)app__acme__tiny__checksum
(optional, string; default is "sha256:bcd7cb56c280543c929cb4b7b2d1ed2d7ebabdae74fedc96b6a63f218c0b8ace")app__acme__tiny__download_upstream
(optional, string; default is "https://raw.githubusercontent.com/diafygi/acme-tiny/master/acme_tiny.py")
Dependencies
- Galaxy Role: inofix.yapkg
- The download source: the default URL/checksum may change.
Example Playbook
Here’s how to use the role in a playbook:
- hosts: servers
roles:
- inofix.acme-tiny-install
License
GPLv3
Author Information
- Michael Lustenberger at inofix.ch
Install the famous acme-tiny python script
ansible-galaxy install inofix.acme-tiny-install