Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR #4479/552db0d3 backport][stable-4] Add project support for lxd_container and lxd_profile module #4561

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Apr 22, 2022

This is a backport of PR #4479 as merged into main (552db0d).

SUMMARY

This PR add lxd project support to 'lxd_container' and 'lxd_profile' module

A new module parameter 'project' is added, if the parameter is set module will perform operations on the selected project.

This is related to:

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME
  • lxd_container
  • lxd_profile
ADDITIONAL INFORMATION

This change is backward compatible, if project parameter is not set, query parameter will not be added.

Tested on Ubuntu 20.04 with LXD 4.24 including:

  • instance without project
  • instance with project
  • profile without project
  • profile with project

* add project support for lxd modules

* fix lxd_container yaml format error

* add changelog fragement add version_add entry

* fix LXD spelling

* complete lxd_profile example

(cherry picked from commit 552db0d)
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added backport cloud feature This issue/PR relates to a feature request module module new_contributor Help guide this first time contributor plugins plugin (any type) labels Apr 22, 2022
@felixfontein felixfontein merged commit aeece5a into stable-4 Apr 22, 2022
@felixfontein felixfontein deleted the patchback/backports/stable-4/552db0d3533a59c79206e3576d3535db639e3f8b/pr-4479 branch April 22, 2022 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cloud feature This issue/PR relates to a feature request module module new_contributor Help guide this first time contributor plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants