1
0
Fork 0
No description
Find a file
2017-08-23 15:27:01 +02:00
default Add app installation 2017-08-23 15:23:31 +02:00
meta Update meta, since Yunohost is only compatible with debian 8 2017-08-23 14:24:41 +02:00
tasks Add app installation 2017-08-23 15:23:31 +02:00
LICENSE Initial commit 2017-08-23 12:42:15 +02:00
README.md Update Readme 2017-08-23 15:27:01 +02:00

ansible-yunohost

Deploy Yunohost with Ansible !

Requirements

None.

Role Variables

Example of Variables:

yunohost:
  # Link to the install script
  install_script_url: https://raw.githubusercontent.com/YunoHost/install_script/master/install_yunohost
  # The main domain
  domain: example.com
  # Yunohost admin password
  password: MYINSECUREPWD_PLZ_OVERRIDE_THIS
  # If you don't want to use a noho.st url
  ignore_dyndns: False
  # The list of apps you want to install.
  apps:
    - link: ttrss # It can be the name of an official app or a github link
      args: # Provide here args. Path and domain are mandatory, other args depend of the app.
        path: /var/www/ttrss
        domain: example.com

Dependencies

None.

Example Playbook

- name: Provision servers
  hosts: all
  remote_user: root
  pre_tasks:
    - name: Update all packages and index
      apt:
        upgrade: dist
        update_cache: yes

  roles:
     - { role: ansible-yunohost }

License

GPL-3.0