Skip to content
Snippets Groups Projects
Commit e8cadb28 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "seed: Disable SNAT configuration by default"

parents 0f2b1042 53f37da1
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,9 @@ seed_default_network_interfaces: > ...@@ -23,6 +23,9 @@ seed_default_network_interfaces: >
# List of extra networks to which seed nodes are attached. # List of extra networks to which seed nodes are attached.
seed_extra_network_interfaces: [] seed_extra_network_interfaces: []
# Whether to enable SNAT on seed nodes. Default is false.
seed_enable_snat: false
############################################################################### ###############################################################################
# Seed node software RAID configuration. # Seed node software RAID configuration.
......
...@@ -7,3 +7,4 @@ ...@@ -7,3 +7,4 @@
- ip-routing - ip-routing
roles: roles:
- role: ip-routing - role: ip-routing
when: seed_enable_snat | bool
...@@ -11,3 +11,4 @@ ...@@ -11,3 +11,4 @@
source_ip: "{{ ansible_facts.default_ipv4.address }}" source_ip: "{{ ansible_facts.default_ipv4.address }}"
roles: roles:
- role: snat - role: snat
when: seed_enable_snat | bool
...@@ -18,6 +18,9 @@ ...@@ -18,6 +18,9 @@
# List of extra networks to which seed nodes are attached. # List of extra networks to which seed nodes are attached.
#seed_extra_network_interfaces: #seed_extra_network_interfaces:
# Whether to enable SNAT on seed nodes. Default is false.
#seed_enable_snat:
############################################################################### ###############################################################################
# Seed node software RAID configuration. # Seed node software RAID configuration.
......
---
features:
- |
Adds a new variable ``seed_enable_snat`` that allows users to enable SNAT
service on the seed. The default value is ``false``.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment