community.general icon indicating copy to clipboard operation
community.general copied to clipboard

Update lxd_container.py documentation.

Open Herschdorfer opened this issue 1 year ago • 2 comments

SUMMARY

Two small changes:

  • use APT module. The previous example would always return 'modified'
  • Remove Debian example. The example does not work anymore after https://linuxcontainers.org/ did drop LXD support.

trivial:

  • Fix LXD container documentation after https://linuxcontainers.org/ did drop LXD support.
ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME

lxd_container

ADDITIONAL INFORMATION

none

Herschdorfer avatar May 05 '24 14:05 Herschdorfer

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/modules/lxd_container.py:242:27: W291: trailing whitespace

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/modules/lxd_container.py:242:27: W291: trailing whitespace

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/modules/lxd_container.py:242:27: W291: trailing whitespace

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/modules/lxd_container.py:242:27: W291: trailing whitespace

click here for bot help

ansibullbot avatar May 05 '24 14:05 ansibullbot

Sorry for the force push mess. I had my editor setup to auto-format and pushed that by accident.

Herschdorfer avatar May 05 '24 14:05 Herschdorfer

Backport to stable-8: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-8/d96b2642bc25d5febaa136266b2f73ec0ea4bb6e/pr-8309

Backported as https://github.com/ansible-collections/community.general/pull/8421

🤖 @patchback I'm built with octomachinery and my source is open — https://github.com/sanitizers/patchback-github-app.

patchback[bot] avatar May 26 '24 11:05 patchback[bot]

@Herschdorfer thanks!

felixfontein avatar May 26 '24 11:05 felixfontein

Backport to stable-9: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-9/d96b2642bc25d5febaa136266b2f73ec0ea4bb6e/pr-8309

Backported as https://github.com/ansible-collections/community.general/pull/8422

🤖 @patchback I'm built with octomachinery and my source is open — https://github.com/sanitizers/patchback-github-app.

patchback[bot] avatar May 26 '24 11:05 patchback[bot]