1e963a60ad
The flags in etc/kayobe/kolla.yml were out of sync with ansible/roles/kolla-ansible/vars/main.yml. This commit sorts them all alphabetically and adds a script to simplify generating the list. TrivialFix Change-Id: I0e3be19eed371853d80c401d6a46770a7d6dcbc5
17 lines
403 B
Python
Executable File
17 lines
403 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
# Usage: run this script and copy the output to etc/kayobe/kolla.yml
|
|
|
|
import os
|
|
import pathlib
|
|
|
|
import yaml
|
|
|
|
script_dir = pathlib.Path(__file__).parent.absolute()
|
|
path = os.path.join(script_dir, "../ansible/roles/kolla-ansible/vars/main.yml")
|
|
|
|
with open(path) as f:
|
|
vars = yaml.safe_load(f)
|
|
for key in vars["kolla_feature_flags"]:
|
|
print("#kolla_enable_%s:" % key)
|