mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-07 14:03:01 +07:00
Set LXD password from environment variable
This commit is contained in:
parent
7d72f99a41
commit
1df7017c6f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user