summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/git/tasks/missing_hostkey.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/git/tasks/missing_hostkey.yml')
-rw-r--r--test/integration/targets/git/tasks/missing_hostkey.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/integration/targets/git/tasks/missing_hostkey.yml b/test/integration/targets/git/tasks/missing_hostkey.yml
index 136c5d5dda..d8a2a81838 100644
--- a/test/integration/targets/git/tasks/missing_hostkey.yml
+++ b/test/integration/targets/git/tasks/missing_hostkey.yml
@@ -35,7 +35,8 @@
git:
repo: '{{ repo_format3 }}'
dest: '{{ checkout_dir }}'
- version: 'master'
+ version: >-
+ {{ git_default_branch }}
accept_hostkey: false # should already have been accepted
key_file: '{{ github_ssh_private_key }}'
ssh_opts: '-o UserKnownHostsFile={{ remote_tmp_dir }}/known_hosts'