Set LXD password from environment variable

This commit is contained in:
Khue Doan 2020-07-28 00:38:16 +07:00
parent 7d72f99a41
commit 1df7017c6f

View File

@ -11,7 +11,7 @@
command: lxc config set core.https_address "[::]"
- name: Set password for new clients
command: lxc config set core.trust_password ""
command: lxc config set core.trust_password "{{ lookup('env','LXD_PASSWORD') }}"
- name: Disable swap for Kubernetes
command: swapoff -a