Added this repo because I got tired of updating my local enketo-express repo manually ;-)
-
NB: tested with ansible 2.4.0.0
-
Create a new file called
localhost
inhost_vars
directory then copy the contents indefault-localhost
to the new file you have created. -
Update the following variables in the new file:
enketo_path <string>
- path where you want enketo to resideenketo_remote <string>
- path to remote enketo repogit_path <string>
- your git path locally. I usedwhich git
from a macgit_branch <string>
- branch that should be updatedshould_rebase <boolean>
- rebase with latest tag branch or not
-
Run
ansible-playbook -i hosts -vvv main.yaml