Skip to content
Snippets Groups Projects
Verified Commit b365181a authored by Varac's avatar Varac
Browse files

Fix failing hostkey verification

parent 9857eeae
No related branches found
No related tags found
No related merge requests found
......@@ -87,8 +87,10 @@ install:
testinfra:
stage: health-test
script:
- mkdir ~/.ssh
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- echo -e 'Host *\n stricthostkeychecking no' > ~/.ssh/config
- cd ansible/
- pytest -v -m 'testinfra' --connection=ansible --ansible-inventory=../clusters/$HOSTNAME/inventory.yml --hosts='ansible://*'
only:
......@@ -106,8 +108,10 @@ certs:
OAS_DOMAIN: "$ADDRESS"
allow_failure: true
script:
- mkdir ~/.ssh
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- echo -e 'Host *\n stricthostkeychecking no' > ~/.ssh/config
- cd ansible/
- pytest -s -m 'certs' --connection=ansible --ansible-inventory=../clusters/$HOSTNAME/inventory.yml --hosts='ansible://*'
only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment