Skip to content

Commit f390deb

Browse files
committed
output plan for debugging
1 parent 0ab2c5e commit f390deb

File tree

1 file changed

+5
-0
lines changed
  • ansible/roles/create-api-deployment-pre-reqs/tasks

1 file changed

+5
-0
lines changed

ansible/roles/create-api-deployment-pre-reqs/tasks/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141
failed_when: tfplan.rc not in (0, 2)
4242
when: not do_not_terraform
4343

44+
- name: output plan
45+
debug:
46+
var: tfplan.stdout_lines
47+
when: tfplan is defined
48+
4449
- name: terraform apply
4550
shell: "make -C {{ out_dir }}/terraform apply-plan args='-no-color -lock-timeout=30m --auto-approve tfplan.out'" # noqa 305
4651
register: tfapply

0 commit comments

Comments
 (0)