Skip to content

Instantly share code, notes, and snippets.

@Craigson
Created January 11, 2021 23:20
Show Gist options
  • Select an option

  • Save Craigson/dc98682b21c1e7eea4eccd1c170b8eac to your computer and use it in GitHub Desktop.

Select an option

Save Craigson/dc98682b21c1e7eea4eccd1c170b8eac to your computer and use it in GitHub Desktop.
create_docker_network
---
# tasks file for create_docker_network
- debug:
msg: Create docker network on subnet - {{subnet}}"
- name: Create Docker network
docker_network:
name: syntropynet
driver: bridge
ipam_config:
- subnet: "{{subnet}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment