ansible: add connection delegation test targets.

For command line use only, no integration tests yet.
This commit is contained in:
David Wilson 2018-04-27 01:32:21 +01:00
parent 3fab8a3af5
commit fa4746f656
1 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,16 @@
[test-targets]
localhost
[connection-delegation-test]
cd-bastion
cd-rack11 mitogen_via=ssh-user@cd-bastion
cd-rack11a mitogen_via=root@cd-rack11
cd-rack11a-docker mitogen_via=docker-admin@cd-rack11a ansible_connection=docker
[connection-delegation-cycle]
# Create cycle with Docker container.
cdc-bastion mitogen_via=cdc-rack11a-docker
cdc-rack11 mitogen_via=ssh-user@cdc-bastion
cdc-rack11a mitogen_via=root@cdc-rack11
cdc-rack11a-docker mitogen_via=docker-admin@cdc-rack11a ansible_connection=docker