Ansible script to install pglister.
/!\ Copy of the Gitlab repository, may not be up-to-date. Please use Gitlab /!\
Status: the script is finished, but necessary patches are still in the process of being integrated upstream. In the meantime, repositories are still pointing to my own forks.
ansible-galaxy install -r requirements.yml
ansible-galaxy collection install https://gitlab.com/cmatte/ansible-pglister.git
---
- name: Example playbook
hosts: all
become: true
vars_file:
- vars/defaults.yml
roles:
- {role: 'exim_pglister', tags: 'exim_pglister'}
- {role: 'pglister', tags: 'pglister'}
- {role: 'pgarchives', tags: 'pgarchives'}
- {role: 'pgarchives_private', tags: 'pgarchives_private'}
- {role: 'pgweb', tags: 'pgweb'}
Some variables can and should be configured. See here.
You can reduce the tasks to repository and related files redeployment using the redeploy
option, e.g. using -e "{redeploy: True}"
from the command line.
Using the pre_deployment
option, you can also skips some tasks when correct DNS is not set up (e.g. pglister_sync or let's encrypt).
Install the following dependencies:
- molecule
- molecule-plugins
- docker
Then run:
molecule test
- Célestin Matte for Software in the Public Interest (SPI)
- Maxime "pep" Buquet