diff --git a/roles/remote_deployment/templates/deploy.j2 b/roles/remote_deployment/templates/deploy.j2 index 211e29246..ca3d9a449 100644 --- a/roles/remote_deployment/templates/deploy.j2 +++ b/roles/remote_deployment/templates/deploy.j2 @@ -33,4 +33,4 @@ cd "/home/{{ deployment_user }}/ofn-install" git pull # Deploy -ansible-playbook playbooks/deploy.yml --limit {{ ansible_limit }} --connection local -e "git_repo=https://github.com/openfoodfoundation/openfoodnetwork.git git_version=$deploy" +ansible-playbook playbooks/deploy.yml --limit {{ inventory_hostname }} --connection local -e "git_repo=https://github.com/openfoodfoundation/openfoodnetwork.git git_version=$deploy"