Skip to content

Commit 0b00704

Browse files
committed
add missing dir
1 parent 477218a commit 0b00704

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ansible/playbook-gcp-vm-create.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@
5757
set_fact:
5858
external_ip: "{{ vm_result.networkInterfaces[0].accessConfigs[0].natIP }}"
5959

60+
- name: Ensure ~/.ssh directory exists
61+
file:
62+
path: "~/.ssh"
63+
state: directory
64+
mode: '0700'
65+
6066
- name: Save SSH private key
6167
copy:
6268
content: "{{ ssh_private_key }}"

0 commit comments

Comments
 (0)