Skip to content

Commit 8740e61

Browse files
committed
change private key for secret
1 parent e993e48 commit 8740e61

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

olam/default_vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ instance_shape: "VM.Standard.E4.Flex"
99
instance_ocpus: 2
1010
instance_memory: 32
1111
subnet_cidr_block: "10.0.0.48/28"
12+
private_key: "id_rsa"
1213

1314
username: "oracle"
1415
usergroup: "{{ username }}"

olam/deploy_olam_cluster.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@
381381
dest: /etc/tower/SECRET_KEY
382382
owner: true
383383
group: true
384-
private_key: "{{ ansible_private_key_file }}"
384+
private_key: "{{ lookup('file', lookup('env', 'HOME') + '/.ssh/' + private_key) }}"
385385
delegate_to: "{{ groups['control'][0] }}"
386386

387387
- name: Configure receptor

0 commit comments

Comments
 (0)