Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.
/ ansible-incus Public archive

A small prototyping project for playing with ansible modules for incus.

Notifications You must be signed in to change notification settings

kmpm/ansible-incus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Incus

This is a small project for developing Incus plugins for Ansible.

NOTE!!!: All development here is halted and moved to https://github.com/kmpm/ansible-collection-incus

These are based/forked from work in the module lxd_container, Issue 7853 and PR 7980 specificaly.

For the moment only lxd_container is changed to incus_instance. The module util lxd is change into incus. All licenses and copyrights are kept for now.

Testing

Since the supplied ansible.cfg changes home to ./ it should be possible to run with the following.

# install and activate a virtual environment if you want/need
python3 -m venv venv
. venv/bin/activate

# install ansible if not already done
pip install ansible

# test that ansible can find the module
ansible-doc -t module incus_instance

# run a short example
ansible-playbook -i inventory.ini playbook.yml

About

A small prototyping project for playing with ansible modules for incus.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages