Browse Source

playbook: set bridge name

Fabian Peter Hammerle 4 years ago
parent
commit
6f44f48fb2
2 changed files with 6 additions and 0 deletions
  1. 4 0
      CHANGELOG.md
  2. 2 0
      ansible-playbook.yml

+ 4 - 0
CHANGELOG.md

@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 ## [Unreleased]
+### Changed
+- sample playbook:
+  - set name of bridge interface to "tor-proxy" (instead of using random name)
+
 ### Fixed
 - sample playbook:
   - disable unnecessary facts gathering

+ 2 - 0
ansible-playbook.yml

@@ -4,6 +4,8 @@
   tasks:
   - docker_network:
       name: tor
+      driver_options:
+        com.docker.network.bridge.name: tor-proxy
     register: tor_proxy_network
   - docker_container:
       name: tor_proxy