zilti / zilti.pot / 0.5.36 / module / pot_bridge Pot bridge task. | "added in version" 0.1.0 of zilti.pot" Authors: Daniel Ziltener <dziltener@lyrion.ch> This plugin has a corresponding action plugin.zilti.pot.pot_bridge (0.5.36) — module
Install with ansible-galaxy collection install zilti.pot:==0.5.36
collections: - name: zilti.pot version: 0.5.36
Pot bridge task.
- name: Create private bridge pot_bridge: name: mybridge size: 5
- name: Check if creation was successful shell: cmd: if [ -f /opt/pot/bridges/mybridge ]; then exit 0; else exit 1; fi register: bridgetest
- name: Assert test result assert: that: - bridgetest.rc == 0
name: default: None description: - The bridge name required: true type: str size: default: None description: - expected number of hosts required: false type: int state: choices: - present - absent default: present required: false type: str ignore: default: false required: false type: bool