Add alternative hosts
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing

This commit is contained in:
Kasper Juul Hermansen 2021-11-14 21:46:25 +01:00
parent e7c139462d
commit b9c129a342
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
2 changed files with 7 additions and 1 deletions

View File

@ -6,7 +6,7 @@ steps:
image: plugins/ansible:latest
settings:
playbook: deployment/todo-setup.yml
inventory: deployment/hosts
inventory: deployment/prod/hosts
galaxy: deployment/requirements.yml
private_key:
from_secret: ansible_private_key

6
deployment/prod/hosts Normal file
View File

@ -0,0 +1,6 @@
[server]
hermansen-pc
[server:vars]
ansible_connection=ssh
ansible_user=hermansen