Both bootstap-ansible.sh and os-ansible-role-requirements.py had variables that weren't correct. This change fixes both. * bootstrap-ansible.sh now checks for ANSIBLE_ROLE_FILE rather than hardcoding lookup for `ansible-role-requirements.yml`. For reference, that file name is the default value for ANSIBLE_ROLE_FILE. * os-ansible-role-requirements.py was checking the dirname of the requirements_file argument directly, which is just a file name, not a path. The `requirements_file` variable has the full path calculated from the passed file name. Change-Id: I2f035bc230b77c9dc4363a60ebe0436970fa8a7e Closes-Bug: #1434139 Closes-Bug: #1434129
9.6 KiB
Executable File
9.6 KiB
Executable File