Module - tripleo_os_net_config

This module provides for the following ansible plugin:

  • tripleo_os_net_config

Module Documentation

Configure host network interfaces using a JSON config file format.

Options

cleanup

Cleanup unconfigured interfaces.

config_file

Path to the configuration file.

debug

Print debug output.

detailed_exit_codes

If enabled an exit code of '2' means that files were modified.

safe_defaults

If enabled, safe defaults (DHCP for all interfaces) will be applied in case of failuring while applying the provided net config.

use_nmstate

If enabled, use nmstate and network manager for network configuration.

Authors

OpenStack TripleO Contributors

Example Tasks

- name: Create network configs with defaults
  tripleo_os_net_config: