2017-08-23 12:58:21 +02:00
|
|
|
ansible-yunohost
|
|
|
|
=========
|
|
|
|
|
2017-08-23 12:42:15 +02:00
|
|
|
Deploy Yunohost with Ansible !
|
2017-08-23 12:58:21 +02:00
|
|
|
|
|
|
|
Requirements
|
|
|
|
------------
|
|
|
|
|
|
|
|
None.
|
|
|
|
|
|
|
|
Role Variables
|
|
|
|
--------------
|
|
|
|
|
|
|
|
Example of Variables:
|
|
|
|
```yml
|
|
|
|
yunohost:
|
|
|
|
# Link to the install script
|
|
|
|
install_script_url: https://raw.githubusercontent.com/YunoHost/install_script/master/install_yunohost
|
|
|
|
# The main domain
|
|
|
|
domain: mydomain.fr
|
|
|
|
# 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 (not working yet).
|
|
|
|
apps: ~
|
|
|
|
```
|
|
|
|
|
|
|
|
Dependencies
|
|
|
|
------------
|
|
|
|
|
|
|
|
None.
|
|
|
|
|
|
|
|
Example Playbook
|
|
|
|
----------------
|
|
|
|
```yml
|
|
|
|
- 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
|