Skip to content

feat: implement dokku_network task#122

Merged
josegonzalez merged 2 commits intomasterfrom
9-implement-network-task
Apr 25, 2026
Merged

feat: implement dokku_network task#122
josegonzalez merged 2 commits intomasterfrom
9-implement-network-task

Conversation

@josegonzalez
Copy link
Copy Markdown
Member

Summary

  • Adds dokku_network task for creating and destroying Docker networks, 100% compatible with the upstream ansible-dokku dokku_network module
  • Supports present/absent states with idempotent operations via dokku network:exists checks
  • Includes unit tests (invalid state, desired state, YAML parsing, registration), integration tests (full create/destroy lifecycle with idempotency), and auto-generated documentation

Closes #9

… networks

Adds the dokku_network task compatible with the upstream ansible-dokku
dokku_network module. Supports present/absent states with idempotent
create and destroy operations via dokku network:exists checks.

Closes #9
Adds dockerNetworkExists() helper and docker network inspect calls to
verify networks are actually created/destroyed at the Docker level,
not just via dokku's return values.
@josegonzalez josegonzalez merged commit 5bbffc0 into master Apr 25, 2026
10 checks passed
@josegonzalez josegonzalez deleted the 9-implement-network-task branch April 25, 2026 08:39
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.

Implement network_task

1 participant