Add alternative hosts
This commit is contained in:
parent
e7c139462d
commit
b9c129a342
@ -6,7 +6,7 @@ steps:
|
|||||||
image: plugins/ansible:latest
|
image: plugins/ansible:latest
|
||||||
settings:
|
settings:
|
||||||
playbook: deployment/todo-setup.yml
|
playbook: deployment/todo-setup.yml
|
||||||
inventory: deployment/hosts
|
inventory: deployment/prod/hosts
|
||||||
galaxy: deployment/requirements.yml
|
galaxy: deployment/requirements.yml
|
||||||
private_key:
|
private_key:
|
||||||
from_secret: ansible_private_key
|
from_secret: ansible_private_key
|
||||||
|
6
deployment/prod/hosts
Normal file
6
deployment/prod/hosts
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[server]
|
||||||
|
hermansen-pc
|
||||||
|
|
||||||
|
[server:vars]
|
||||||
|
ansible_connection=ssh
|
||||||
|
ansible_user=hermansen
|
Loading…
Reference in New Issue
Block a user