Skip to content

Commit 34c2cad

Browse files
committed
Fix failing test(s) in Ansible < 2.1.2
1 parent 435c97a commit 34c2cad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pre.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- openssh-client
1111

1212
- name: pre | generate key pair
13-
command: ssh-keygen -t rsa -b 2048 -C '' -P '' -f ../files/id_rsa -q
13+
command: ssh-keygen -t rsa -b 2048 -C '' -P '' -f {{ playbook_dir }}/../files/id_rsa -q
1414
args:
15-
creates: ../files/id_rsa
15+
creates: "{{ playbook_dir }}/../files/id_rsa"
1616
become: false

0 commit comments

Comments
 (0)