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

Add 'ingress' option to docker_network module #998

Closed
wants to merge 6 commits into from

Conversation

MaxVorobyev
Copy link
Contributor

SUMMARY

Add 'ingress' option to docker_network module

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

docker_network

Copy link

github-actions bot commented Nov 25, 2024

Docs Build 📝

This PR is closed and any previously published docsite has been unpublished.

Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution! Please add a changelog fragment. Thanks.

plugins/modules/docker_network.py Outdated Show resolved Hide resolved
docker_network:
name: "{{ nname_1 }}"
driver: overlay
ingress: true
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This task currently fails with

01:43 An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible_collections.community.docker.plugins.module_utils._api.errors.APIError: 409 Client Error for http+docker://localhost/v1.43/networks/create: Conflict ("rpc error: code = AlreadyExists desc = ingress network (j14ca3x29squ0lvqcyooyr5ik) is already present")

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in a952631

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants