https://github.com/thebinary/ansible-role-lxd
Install LXD + Base Configuration : as given in get started guide of official documentation
https://github.com/thebinary/ansible-role-lxd
Last synced: 2 months ago
JSON representation
Install LXD + Base Configuration : as given in get started guide of official documentation
- Host: GitHub
- URL: https://github.com/thebinary/ansible-role-lxd
- Owner: thebinary
- License: mit
- Created: 2015-12-19T00:34:55.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-26T22:39:28.000Z (over 10 years ago)
- Last Synced: 2025-07-04T08:40:06.348Z (9 months ago)
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ansible-role-lxd [](https://travis-ci.org/thebinary/ansible-role-lxd)
=========
An Ansible role that installs LXD on Ubuntu and performs base configuration as given in get started guide
Requirements
------------
- The host to which this role is being deployed must be Ubuntu
Role Variables
--------------
| Variable | Description | Default Value | Possible Values |
|----------|-------------|---------------|-----------------|
|lxd_allow_remote|Allow operations from remote lxc clients using https api|false|true|false|
|lxd_https_listen_address|bind address for the api|[::]|lxd API bind address|
|lxd_trust_password|turst password to be used by remote lxc clients|4trustlxd123|string|
|lxd_lxc_path|path to installed lxc binary after lxd installation|/usr/bin/lxc|do not modify this unless installation path is modified by installer|
Dependencies
------------
None
Example Playbook
----------------
Install lxd
# example1.yml
# example playbook to install lxd
- hosts: lxd0
roles:
- { role: thebinary.lxd }
Install lxd and configure it to allow operations using remote lxc client
# example2.yml
# example2 playbook to install lxd and configure it for remote operations
- hosts: lxd1
roles:
- { role: thebinary.lxd, lxd_allow_remote: true }
- hosts: lxd2
roles:
- { role: thebinary.lxd, lxd_allow_remote: true, lxd_trust_password: "somepassword" }
License
-------
MIT
Author Information
------------------
thebinary