feat: changed output dir

This commit is contained in:
2025-12-30 12:45:38 -05:00
parent e3f2468c41
commit 5686da2377
3 changed files with 3 additions and 3 deletions

View File

@@ -9,4 +9,4 @@ tasks:
cmd: ssh -i {{.KEY}} -p 22 root@{{.IP}} cmd: ssh -i {{.KEY}} -p 22 root@{{.IP}}
vars: vars:
KEY: { sh: ansible-vault view vault.yml | yq -r .secret.private_key_file } 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'" }

View File

@@ -36,5 +36,5 @@
- name: Send outputs to file. - name: Send outputs to file.
ansible.builtin.copy: ansible.builtin.copy:
content: "{{ terraform_apply.outputs }}" content: "{{ terraform_apply.outputs }}"
dest: ../secrets/terraform_outputs.yml dest: ../secrets/tf_outputs.yml
mode: '0755' mode: '0755'