-
Type: Bug
-
Status: To Do (View Workflow)
-
Priority: High
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Ansible
-
Labels:None
-
Story Points:2
Hello team,
The current installer script setup.sh at repo https://gerrit.opencord.org/automation-tools has a problem with the newer version of kubespray not recognizing the inventory.ini file. A workaround seems to be to make the following modification as used by our team:
Ansible appears to use the file extension to decide what format the inventory file is in. So the file name just needs to be changed form inventory.cfg -> inventory.yaml. Since the inventory file is generated based on the parameters passed to setup.sh, we need to modify setup.sh (and setup.sh only).
In setup.py there a 3 references to inventory.cfg.
1) (line 59) The filename passed to a python utility (inventory.py) as an ENV variable.
This utility generates that file.
2) (line 66) It is passed to ansible-playbook
3) (line 70) It is passed to ansible-playbook