playbooks/setup-nwl-jenkins: added bash root path for key setup

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
This commit is contained in:
Marc Mattmüller 2023-07-11 16:30:09 +02:00
parent c6bd0ca952
commit 9c870c9e29
1 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,9 @@
cat ~/.ssh/{{git_ssh_keyname}}.pub > ./.ssh/{{git_ssh_keyname}}.pub
cat .ssh/testvm_ed25519.pub > ./.ssh/authorized_keys
ssh-keyscan -p 7999 -t rsa bitbucket.gad.local > ./.ssh/known_hosts 2>/dev/null
args:
chdir: "{{root_path}}"
executable: /bin/bash
- name: Get a java truststore
ansible.builtin.shell: |
containerId=$(docker create jenkins:nwl-0.0.3)