mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-25 22:18:53 +07:00
Fix wrong tfvars path after restructure
This commit is contained in:
parent
51a5468855
commit
4898d18202
@ -38,7 +38,7 @@
|
||||
# TODO (optimize) use template for tfvars
|
||||
- name: Add LXD server to environment variables
|
||||
lineinfile:
|
||||
path: "{{ playbook_dir }}/../infra/platform/terraform.tfvars"
|
||||
path: "{{ playbook_dir }}/../infra/terraform.tfvars"
|
||||
line: "lxd_address = \"{{ hostvars[groups['metal'][0]]['ansible_host'] }}\""
|
||||
create: yes
|
||||
delegate_to: localhost
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
- name: Add LXD password to environment variables
|
||||
lineinfile:
|
||||
path: "{{ playbook_dir }}/../infra/platform/terraform.tfvars"
|
||||
path: "{{ playbook_dir }}/../infra/terraform.tfvars"
|
||||
line: "lxd_password = \"{{ lxd_password }}\""
|
||||
create: yes
|
||||
delegate_to: localhost
|
||||
|
Loading…
Reference in New Issue
Block a user