RETIRED, TripleO Ansible project repository. Contains playbooks for use with TripleO OpenStack deployments.
Go to file
Emilien Macchi a4d205f378 Ansible interface for os-net-config
This patch implements an Ansible interface to os-net-config.

* os_net_config module; which is in charge of running os-net-config
  tool. It supports a few options now (from os-net-config CLI):

  - cleanup, to cleanup unconfigured interfaces
  - config_file, to specify the os-net-config configuration file
  - debug, to enable debug level logging
  - detailed_exit_codes, to exit os-net-config with code 2 if files were
    modified. Note: the module will still return rc 0 if no error
    otherwise Ansible pukes.
  - safe_defaults, which will try to apply safe defaults if the provided
    configuration failed to execute. It'll basically run dhcp on all
    discovered interfaces.

  The module returns "rc" as the return code.
  The module has molecule testing, and we re-use the same script to
  generate safe defaults for os-net-config.

* update tripleo_network_config role; in charge of TripleO Network
  configuration.

  - Adding tripleo_network_config_legacy_script parameter, true by
    default so the legacy shell script is run.
  - Adding tripleo_network_config_safe_defaults since some network
    configs don't need default safe defaults.
  - Updating main, to run the newly created os_net_config module if
    tripleo_network_config_legacy_script is False.
  - New playbook, os_net_config.yml, running os-net-config with the
    provided config.

Change-Id: I1d0f1ab91c9cf290f70a554bfca9b508afc2c34a
2020-09-17 17:13:10 +05:30
.ansible-lint_rules Add custom ansible-lint rule for Role Names 2020-02-27 10:53:11 +00:00
_skeleton_role_ Fix role addition skeleton 2020-08-20 13:37:58 +01:00
doc Ansible interface for os-net-config 2020-09-17 17:13:10 +05:30
releasenotes Remove paunch module 2020-06-24 03:32:10 +00:00
scripts Fix linters 2020-08-24 12:45:17 +01:00
tests Merge "Convert tox to native zuul" 2019-07-08 14:18:00 +00:00
tripleo_ansible Ansible interface for os-net-config 2020-09-17 17:13:10 +05:30
zuul.d Ansible interface for os-net-config 2020-09-17 17:13:10 +05:30
.ansible-lint Add custom ansible-lint rule for Role Names 2020-02-27 10:53:11 +00:00
.gitignore Adding playbook support for changes coming to python-tripleoclient. 2020-06-05 17:19:41 -04:00
.gitreview OpenDev Migration Patch 2019-04-19 19:33:52 +00:00
.pre-commit-config.yaml Fix linters 2020-08-24 12:45:17 +01:00
.stestr.conf Introduce unit tests structure for tripleo-ansible filters 2019-12-02 22:26:16 +00:00
.yamllint Re-organize zuul config 2019-06-19 12:52:07 -05:00
LICENSE normalize newlines at end of file 2019-11-12 15:06:58 +00:00
README.rst Fix launchpad tracker in README.rst 2019-09-29 10:08:38 +02:00
ansible-requirements.txt Restrict ansible install version 2020-08-11 15:18:47 -05:00
ansible-test-env.rc Molecule testing for TripleO Strategy Plugins 2020-06-03 20:07:10 +00:00
bindep.txt Use py3 for libselinux / libsemanage in Cent 7/8 2020-07-02 13:32:51 -04:00
constraints.txt Fix the docs job 2020-03-19 19:31:20 +00:00
molecule-requirements.txt Ansible interface for os-net-config 2020-09-17 17:13:10 +05:30
requirements.txt Fix missing requirements for tests 2020-06-26 15:04:21 -06:00
role-addition.yml role-addition: automatically add the new molecule jobs into periodic 2020-05-07 13:17:28 -04:00
roles Revert "Remove roles symlink" 2019-10-28 21:43:35 +00:00
setup.cfg Cleanup after rename-pocolyps 2020-04-02 07:56:20 -05:00
setup.py Initial repo content 2018-07-17 16:36:40 -07:00
test-requirements.txt Add mock to test-requirements 2020-07-07 15:42:21 +03:00
tox.ini Fix role-addition CI 2020-09-01 12:21:05 +02:00

README.rst

Team and repository tags

image

TripleO Ansible

TripleO Ansible project repository. Contains Ansible playbooks, roles, and plugins for use with TripleO.

Documentation for the project can be found at: https://docs.openstack.org/tripleo-ansible/latest/

Release notes for the project can be found at: https://docs.openstack.org/releasenotes/tripleo-ansible/

The project source code repository is located at: https://opendev.org/openstack/tripleo-ansible/

The project home is at: https://launchpad.net/tripleo

The project bug tracker is located at: https://bugs.launchpad.net/tripleo