Skip to content

Ansible role to pre-copy images and eventually pre-configure some

License

Notifications You must be signed in to change notification settings

juju4/ansible-lxdconfigure

Repository files navigation

Actions Status - Master Actions Status - Devel

LXD containers pre-configuration ansible role

Ansible role to pre-copy images and eventually pre-configure some.

Requirements & Dependencies

Ansible

It was tested on the following versions:

  • 2.0
  • 2.2
  • 2.5

Operating systems

Tested on Ubuntu 18.04, 20.04 and 22.04.

Example Playbook

Just include this role in your list. For example

- host: all
  roles:
    - juju4.lxdconfigure

Variables

Nothing specific for now.

Continuous integration

This role has a travis test calling kitchen with lxd (for github), kitchen local with vagrant+virtualbox and also a Vagrantfile (test/vagrant).

Once you ensured all necessary roles are present, You can test with:

$ cd /path/to/roles/juju4.lxdconfigure
## lxd backend
$ kitchen verify
$ kitchen login
## vagrant+virtualbox backend
$ KITCHEN_YAML=".kitchen.vagrant.yml" kitchen verify

or

$ cd /path/to/roles/juju4.lxdconfigure/test/vagrant
$ vagrant up
$ vagrant ssh

Troubleshooting & Known issues

License

BSD 2-clause

About

Ansible role to pre-copy images and eventually pre-configure some

Resources

License

Stars

Watchers

Forks

Packages

No packages published