Go to file
2023-08-19 23:14:27 -07:00
defaults Initialize repo for Wiki.js role. 2023-07-18 16:11:18 -07:00
docs Update podman docs to include current workarounds. 2023-08-10 17:13:51 -07:00
tasks Removed extra service unit step. Systemd seems to not need the extra help to correct track the status of the container, and it was often preventing the container started. 2023-08-19 23:14:27 -07:00
tests Initialize repo for Wiki.js role. 2023-07-18 16:11:18 -07:00
.gitignore Initialize repo for Wiki.js role. 2023-07-18 16:11:18 -07:00
README.md Initialize repo for Wiki.js role. 2023-07-18 16:11:18 -07:00

Ansible Role: wikijs

This Ansible Role installs a rootless wikijs container using Podman. It is intended to be composed with separate roles for Podman, database, and web proxy.

Requirements

Dependencies

Role Variables

See the role defaults and the wikijs environment variable documentation. For a working example, see this homelab stack.

Example Playbook

- hosts: wikijs
  roles:
    - role: nginxinc.nginx_core.nginx
      become: true
    - role: anxs.postgresql
      become: true
    - role: alvistack.podman
      become: true
    - role: bleetube.wikijs
      tags: wikijs
  tasks:
    - import_tasks: nginx_conf.yml
      become: true

Systemd

systemctl --user status container-wikijs.service

Upgrades

Configure wikijs_version.

ansible-playbook playbooks/wikijs.yml --tags wikijs

Backups

See the postgres example.