mirror of
https://github.com/de-it-krachten/ansible-role-radicale_org
synced 2026-05-14 03:41:57 +00:00
No description
- Jinja 100%
# 1.0.0 (2022-07-21) ### Features * Add support for multiple platforms ([ |
||
|---|---|---|
| .github/workflows | ||
| defaults | ||
| handlers | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| templates | ||
| .ansible-lint | ||
| .cicd | ||
| .cicd.overwrite | ||
| .gitignore | ||
| .molecule-platforms.yml | ||
| .releaserc.yml | ||
| .yamllint | ||
| CHANGELOG.md | ||
| LICENSE | ||
| README-org.md | ||
| README.md | ||
ansible-role-radicale
Platforms
Supported platforms
- Red Hat Enterprise Linux 71
- Red Hat Enterprise Linux 81
- Red Hat Enterprise Linux 91
- CentOS 7
- RockyLinux 8
- RockyLinux 9
- OracleLinux 8
- AlmaLinux 8
- AlmaLinux 9
- Debian 10 (Buster)
- Debian 11 (Bullseye)
- Ubuntu 18.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 22.04 LTS
- Fedora 35
- Fedora 36
Note: 1 : no automated testing is performed on these platforms
Role Variables
defaults/main.yml
radicale_version: latest
radicale_install_from: pip
radicale_git_url: https://github.com/Kozea/Radicale.git
radicale_download_dir: "/opt/radicale"
radicale_user: radicale
radicale_group: "{{ radicale_user }}"
radicale_collections_dir: "/var/lib/radicale/collections"
radicale_log_dir: "/var/log/radicale"
radicale_default_config:
server:
hosts: "0.0.0.0:5232"
logging:
# config: /etc/radicale/logging
level: info
mask_passwords: true
storage:
filesystem_folder: "{{ radicale_collections_dir }}"
web:
type: internal
radicale_default_logging:
loggers:
keys: root
handlers:
keys: file
formatters:
keys: full
logger_root:
level: INFO
handlers: file
handler_file:
class: "handlers.RotatingFileHandler"
args: "('/var/log/radicale/log', 'a', 100000, 10)"
formatter: full
formatter_full:
format: '%(asctime)s - %(levelname)s: %(message)s'
yum_packages_source:
- python3-setuptools
- python3-bcrypt
- python3-passlib
- python3-vobject
- python3-dateutil
- git-core
yum_packages_pip:
- python3-pip
pip_packages:
- passlib
- bcrypt
apt_packages_source:
- python3-setuptools
- python3-bcrypt
- python3-passlib
- python3-vobject
- python3-dateutil
- git-core
apt_packages_pip:
- python3-pip
- python3-setuptools
- python3-bcrypt
- python3-passlib
Example Playbook
molecule/default/converge.yml
- name: sample playbook for role 'radicale'
hosts: all
become: "{{ molecule['converge']['become'] | default('yes') }}"
vars:
pre_tasks:
- name: Create 'remote_tmp'
file:
path: /root/.ansible/tmp
state: directory
mode: "0700"
roles:
- python
tasks:
- name: Include role 'radicale'
include_role:
name: radicale