triplepoint.mozilla_syncserver
Intro
This role sets up and configures a Dockerized Mozilla Sync Server application.
Requirements
There's no specific dependency required, but the target machine must be able to run Docker. The geerlingguy.docker
Ansible role works well for this.
Role Variables
For details on configuration, check the comment in the default variables file.
Dependencies
None.
Example Playbook
- hosts: whatever
roles:
- triplepoint.mozilla_syncserver
Role Testing
This role is tested using molecule
, with pipenv
handling the dependencies and Python testing environment.
Setting Up Your Execution Environment
pip install pipenv
After installing pipenv
, create the execution virtual environment with:
pipenv install --dev
Running Tests
Once your environment is set up, run molecule
with:
pipenv run molecule test
Regenerating the Lock File
You shouldn't need to do this often, but if you change Python package requirements via pipenv install {some_package}
or by editing the Pipfile
directly, you may need to regenerate the Pipfile.lock
:
pipenv update --dev
Remember to check in the updated Pipfile.lock
after this process.
License
MIT
A deployment role for Mozilla's Firefox Sync server.
ansible-galaxy install triplepoint.mozilla_syncserver