mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 21:04:54 +07:00
Add env secret template
This commit is contained in:
parent
468aad25db
commit
87934e8893
5
metal/roles/lxc-config/templates/env
Normal file
5
metal/roles/lxc-config/templates/env
Normal 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 }}
|
@ -3,9 +3,9 @@
|
||||
roles:
|
||||
- tools
|
||||
- lxd
|
||||
- tfstate
|
||||
|
||||
- name: Generate LXD client config
|
||||
hosts: controller
|
||||
roles:
|
||||
- lxc-config
|
||||
- tfstate
|
||||
|
Loading…
Reference in New Issue
Block a user