Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 0d51998f authored by Arthur BOUDREAULT's avatar Arthur BOUDREAULT Committed by Christophe Chaudier
Browse files

Apply 10 suggestion(s) to 2 file(s)

parent b143b794
No related branches found
No related tags found
1 merge request!3✅Resolve "refactor vars"
......@@ -18,36 +18,39 @@ Example of Variables:
# Debian 10 script only.
ynh_install_script_url: https://install.yunohost.org
ynh_admin_password: uo3A2iq4CtkUdt
ynh_admin_password: MYINSECUREPWD_PLZ_OVERRIDE_THIS
# The list of domains.
ynh_main_domain: poclydra.eu
ynh_extra_domains:
- forum.poclydra.eu
- wiki.poclydra.eu
ynh_main_domain: domain.tld
ynh_extra_domains:
- forum.domain.tld
- wiki.domain.tld
ynh_ignore_dyndns_server: False
# The list of Yunohost users.
ynh_users:
- name: user1
pass: q97CrbNHJFKuWz
pass: MYINSECUREPWD_PLZ_OVERRIDE_THIS
firstname: Jane
lastname: Doe
mail_domain: poclydra.eu
mail_domain: domain.tld
# 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.
domain: wiki.poclydra.eu
domain: wiki.domain.tld
path: /
admin: user1
is_public: no
- label: Discourse
link: discourse
args:
domain: forum.poclydra.eu
domain: forum.domain.tld
path: /
admin: user1
is_public: yes
......@@ -63,10 +66,13 @@ Example Playbook
```yml
---
- name: Install Yunohost on Debian Server
hosts: dev
hosts: all
become: True
tags:
- deploy
pre_tasks:
- name: Update all packages and index
ansible.builtin.apt:
upgrade: dist
update_cache: yes
roles:
- ansible-yunohost
......
......@@ -10,7 +10,7 @@ ynh_extra_domains: ~
ynh_ignore_dyndns_server: False
# The list of Yunohost users.
ynh_users: ~
ynh_users: null
# - name: user1
# pass: p@ssw0rd
# firstname: Jane
......@@ -18,7 +18,7 @@ ynh_users: ~
# mail_domain: domain.tld
# The list of Yunohost apps.
ynh_apps: ~
ynh_apps: null
# - label: Tiny Tiny RSS # Label is important, it's a reference for the Playbook.
# link: ttrss # It can be the name of an official ynh app or a git repo link
# args: # Provide args here. Domain and path are mandatory, other args depend on the app (cf manifest.json of app).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment