diff --git a/README.md b/README.md index 678037f5d4327d271262db65035ff87b47894094..08ebd3b5b16fdde6333d621196fe11f6128b92c0 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/default/main.yml b/default/main.yml index 6b530b21b0302ca52f97129177668381e5b82bbd..59747b21e02f5528f2d768ff3fcfdbc8b8367d7e 100644 --- a/default/main.yml +++ b/default/main.yml @@ -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).