feat: changed output dir
This commit is contained in:
@@ -9,4 +9,4 @@ tasks:
|
||||
cmd: ssh -i {{.KEY}} -p 22 root@{{.IP}}
|
||||
vars:
|
||||
KEY: { sh: ansible-vault view vault.yml | yq -r .secret.private_key_file }
|
||||
IP: { sh: "cat secrets/terraform_outputs.yml | jq -r '.box_ip.value[\"kthw-jumphost\"]'" }
|
||||
IP: { sh: "cat secrets/tf_outputs.yml | jq -r '.nat-public-ip.value'" }
|
||||
|
||||
@@ -36,5 +36,5 @@
|
||||
- name: Send outputs to file.
|
||||
ansible.builtin.copy:
|
||||
content: "{{ terraform_apply.outputs }}"
|
||||
dest: ../secrets/terraform_outputs.yml
|
||||
dest: ../secrets/tf_outputs.yml
|
||||
mode: '0755'
|
||||
|
||||
Reference in New Issue
Block a user