Rol Ansible que despliega y configura el framework RpiREST en una Raspberry Pi.
ansible-rpirest/tests> ansible-playbook -i inventory test.yml
You have a complete list in defaults/main.yml. The more useful variables can be:
- For develop's environment or massive deploys:
- rpirest_sync_from_git: True/False. Default value is True. False if you want syncronize code from disk path.
- rpirest_app_src_path. Path with the rpirest's code.
None
- hosts: all
remote_user:pi
become:yes
roles:
- ansible-rpirest
- installation: To install all the packages, dependencies and code.
- app_code: To deploy only change in the app code. This not include changes in the requirements or packages dependencies.
- configuration: To deploy only change in configuration
- nginx: To install and configure only nginx
- fqdn: To change de hostname
- mpd: Tasks related to the API REST of MPD (Music Player Daemon).
GPLv3