Newer
Older
Arthur BOUDREAULT
committed
# ansible-yunohost
[🇫🇷 French version](README-FR.md)
Arthur BOUDREAULT
committed
## Requirements
Arthur BOUDREAULT
committed
## Role Variables
Arthur BOUDREAULT
committed
Default variables are available in `default/main.yml` however it is necessary to override them according to your needs for Yunohost domains, users and apps.
Arthur BOUDREAULT
committed
## Example of Variables:
----------------
Arthur BOUDREAULT
committed
---
# Debian 10 script only.
ynh_install_script_url: https://install.yunohost.org
ynh_admin_password: MYINSECUREPWD_PLZ_OVERRIDE_THIS
Arthur BOUDREAULT
committed
# The list of domains.
ynh_main_domain: domain.tld
ynh_extra_domains:
- forum.domain.tld
- wiki.domain.tld
Arthur BOUDREAULT
committed
ynh_ignore_dyndns_server: False
# The list of Yunohost users.
ynh_users:
- name: user1
pass: MYINSECUREPWD_PLZ_OVERRIDE_THIS
Arthur BOUDREAULT
committed
firstname: Jane
lastname: Doe
Arthur BOUDREAULT
committed
# The list of Yunohost apps.
ynh_apps:
- label: WikiJS # Label is important, it's a reference for the Playbook.
link: wikijs # It can be the name of an official app or a git repo link.
args: # Provide args. Domain and pah are mandatory, for other args read manifest.json of app.
Arthur BOUDREAULT
committed
path: /
admin: user1
is_public: no
- label: Discourse
link: discourse
args:
Arthur BOUDREAULT
committed
path: /
admin: user1
is_public: yes
Arthur BOUDREAULT
committed
## Dependencies
Arthur BOUDREAULT
committed
## Example Playbook
Arthur BOUDREAULT
committed
---
- name: Install Yunohost on Debian Server
Arthur BOUDREAULT
committed
become: True
pre_tasks:
- name: Update all packages and index
ansible.builtin.apt:
upgrade: dist
update_cache: yes
Arthur BOUDREAULT
committed
Arthur BOUDREAULT
committed
- ansible-yunohost
Arthur BOUDREAULT
committed
## License