File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
roles/edpm_network_config Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -54,3 +54,4 @@ edpm_network_config_safe_defaults: true
54
54
edpm_network_config_template : " "
55
55
edpm_bond_interface_ovs_options : " bond_mode=active-backup"
56
56
edpm_dns_search_domains : []
57
+ edpm_network_config_nonconfigured_cleanup : false
Original file line number Diff line number Diff line change @@ -79,3 +79,7 @@ argument_specs:
79
79
type : str
80
80
description : " Name of the public network interface"
81
81
default : nic1
82
+ edpm_network_config_nonconfigured_cleanup :
83
+ type : bool
84
+ description : " Cleanup network interfaces not in network config"
85
+ default : false
Original file line number Diff line number Diff line change 42
42
msg : " {{ os_net_config_config['content'] | b64decode | trim }}"
43
43
- name : Run edpm_os_net_config_module with network_config
44
44
edpm_os_net_config :
45
+ cleanup : " {{ edpm_network_config_nonconfigured_cleanup }}"
45
46
config_file : " {{ nic_config_file }}"
46
47
debug : " {{ edpm_network_config_debug | bool }}"
47
48
detailed_exit_codes : true
You can’t perform that action at this time.
0 commit comments