Add variable to disable terraform version check

This commit is contained in:
2022-07-01 20:03:36 +02:00
parent 6e894943f9
commit 4b6c442d6b
2 changed files with 17 additions and 14 deletions

View File

@@ -637,6 +637,7 @@
dest: /home/{{ user.name }}/.optbin/terraform
state: link
- block:
- name: get terraform version info
command: /home/{{ user.name }}/.optbin/terraform version -json
register: terraform_version_output
@@ -653,6 +654,7 @@
msg: "current terraform v{{ terraform_version }} is out of date"
when: terraform_outdated is sameas true
ignore_errors: True
when: terraform_check_updates
tags:
- terraform

View File

@@ -1,4 +1,5 @@
terraform_version: 1.1.3
terraform_check_updates: false
kubectl_version: v1.24.2
go_version: "1.18.3"
portfolio_performace_version: "0.57.2"