Hugo Peixoto
4c05a03f93
Em vez de usar o comminuty module cenas para docker, usa systemd para gerir os jobs e env files normais. Aproveita e renomeia um dos yaml para yml. |
||
---|---|---|
connection_plugins | ||
files | ||
host_vars | ||
roles | ||
.gitignore | ||
00_preps.yaml | ||
01_prep_lxd.yaml | ||
02_lxc_containers.yaml | ||
03_container_haproxy.yaml | ||
04_container_gitea.yaml | ||
05_container_saucy.yml | ||
ansible.cfg | ||
hosts | ||
main.yaml | ||
README.md | ||
requirements.txt | ||
requirements.yml |
Passos manuais preparatórios
$ lxd init
Would you like to use LXD clustering? (yes/no): NO
Do you want to configure a new storage pool? (yes/no): YES
Name of the new storage pool: wireguards
Name of the storage backend to use (btrfs, dir, lvm, zfs): ZFS
Create a new ZFS pool? (yes/no): YES
Would you like to use an existing block device? (yes/no): NO
Size in GB of the new loop device (1GB minimum): 5 ????
Would you like to connect to a MAAS server? (yes/no): NO
Would you like to create a new local network bridge? (yes/no): YES
What should the new bridge be called?: lxdbr0
What IPv4 address should be used? (CIDR subnet notation, “auto” or “none”): AUTO
What IPv6 address should be used? (CIDR subnet notation, “auto” or “none”): AUTO
Would you like LXD to be available over the network? (yes/no): NO
Would you like stale cached images to be updated automatically? (yes/no): YES
Would you like a YAML "lxd init" preseed to be printed? (yes/no): NO
$ lxc config set core.https_address "[::]"
$ lxc config set core.trust_password uma_pass
$ lxc config unset core.trust_password