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