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
README.md 3.02 KiB
Newer Older
  • Learn to ignore specific revisions
  • sylvainar's avatar
    sylvainar committed
    ansible-yunohost
    =========
    
    
    Deploy Yunohost with Ansible!
    
    sylvainar's avatar
    sylvainar committed
    
    Requirements
    ------------
    
    None.
    
    Role Variables
    --------------
    
    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.
    
    sylvainar's avatar
    sylvainar committed
    
    Example of Variables:
    ```yml
    
    ---
    # Debian 10 script only.
    ynh_install_script_url: https://install.yunohost.org
    
    ynh_admin_password: uo3A2iq4CtkUdt
    
    # The list of domains.
    ynh_main_domain: poclydra.eu
    ynh_extra_domains: 
      - forum.poclydra.eu
      - wiki.poclydra.eu
    ynh_ignore_dyndns_server: False
    
    # The list of Yunohost users.
    ynh_users: 
       - name: user1
         pass: q97CrbNHJFKuWz
         firstname: Jane
         lastname: Doe 
         mail_domain: poclydra.eu 
    
    # 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
          path: /
          admin: user1 
          is_public: no
      - label: Discourse
        link: discourse 
        args:
          domain: forum.poclydra.eu
          path: /
          admin: user1 
          is_public: yes
    
    sylvainar's avatar
    sylvainar committed
    ```
    
    Dependencies
    ------------
    
    None.
    
    Example Playbook
    ----------------
    ```yml
    
    ---
    - name: Install Yunohost on Debian Server
      hosts: dev
      become: True
      tags:
        - deploy
        
    
    sylvainar's avatar
    sylvainar committed
      roles:
    
    sylvainar's avatar
    sylvainar committed
    ```
    
    License
    -------
    
    GPL-3.0
    
    
    -------------------------------------------------------
    
    ansible-yunohost
    =========
    
    Deployez Yunohost avec Ansible !
    
    Prérequis
    ------------
    
    Aucun.
    
    Role Variables
    --------------
    
    Les variables par défaut sont disponibles dans `default/main.yml` cependant il est nécessaire de les surcharger selon vos besoins en termes de domaines, d'utilisateurs et d'applications sur Yunohost.
    
    
    Exemple de Variables:
    ```yml
    ---
    # Debian 10 script only.
    ynh_install_script_url: https://install.yunohost.org
    
    ynh_admin_password: uo3A2iq4CtkUdt
    
    # The list of domains.
    ynh_main_domain: poclydra.eu
    ynh_extra_domains: 
      - forum.poclydra.eu
      - wiki.poclydra.eu
    ynh_ignore_dyndns_server: False
    
    # The list of Yunohost users.
    ynh_users: 
       - name: user1
         pass: q97CrbNHJFKuWz
         firstname: Jane
         lastname: Doe 
         mail_domain: poclydra.eu 
    
    # 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
          path: /
          admin: user1 
          is_public: no
      - label: Discourse
        link: discourse 
        args:
          domain: forum.poclydra.eu
          path: /
          admin: user1 
          is_public: yes
    ```
    
    
    Dépendances
    ------------
    
    Aucune.
    
    Exemple de Playbook
    ----------------
    ```yml
    ---
    - name: Deploy Yunohost on Debian Server
      hosts: dev
      become: True
      tags:
        - deploy
        
      roles:
        - ansible-yunohost
    ```
    
    License
    -------
    
    GPL-3.0