Add env secret template

This commit is contained in:
Khue Doan 2021-02-22 00:27:33 +07:00
parent 468aad25db
commit 87934e8893
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
ETCDV3_USERNAME={{ etcd_username }}
ETCDV3_PASSWORD={{ etcd_password }}
LXD_ADDR={{ hostvars[groups['metal'][0]]['ansible_host'] }}
LXD_PASSWORD= {{ lxd_password }}

View File

@ -3,9 +3,9 @@
roles:
- tools
- lxd
- tfstate
- name: Generate LXD client config
hosts: controller
roles:
- lxc-config
- tfstate