openstack-ansible/scripts
Jesse Pretorius e86956fec6 Isolate the Ansible bootstrap
As we move forward with the python build/install simplification,
more of the config is being applied in the pip conf, rather than
being given as CLI options in each ansible task. This is good
for providing a consistent experience, but has side effects for
things like the Ansible bootstrap.

When bootstrapping Ansible, we want to make use of a specific
set of constraints which is not polluted by additional config
on the host. We do not want the constraints from the repo
server because they happen to include a constraint for Ansible
which clashes with our requirement. As such, we only want the
native OpenStack upper-constraints.

In this patch we use the --isolated CLI option to ignore the
host's pip configuration. We also introduce the ability to set
extra pip install options by using the PIP_OPTS environment
variable. This can be used to set the installation to use an
alternative pypi mirror, or for extra links, etc.

Change-Id: Ic966bafd04c4c01b3d93851a0e3ec2c1f3312f28
Closes-Bug: #1751316
(cherry picked from commit 6b94b21e18)
2018-12-17 12:02:33 +00:00
..
upgrade-utilities Stop MariaDB nodes to reset quorum during upgrade 2018-10-17 21:36:49 -05:00
ansible-role-requirements-editor.py Fix sources-branch-updater and add docs 2018-01-17 13:39:29 +00:00
bootstrap-aio.sh Fix Bootstrap AIO Passing Multiple BOOTSTRAP_OPTS 2018-08-03 23:25:04 +00:00
bootstrap-ansible.sh Isolate the Ansible bootstrap 2018-12-17 12:02:33 +00:00
fastest-infra-wheel-mirror.py Update fastest-infra-wheel-mirror 2017-08-11 15:14:51 +00:00
federated-login.sh Add project scoped token when obtaning token 2016-04-08 16:20:09 +00:00
gate-check-commit.sh Isolate the Ansible bootstrap 2018-12-17 12:02:33 +00:00
gen-config.py Use python import machinery for inventory code 2017-07-28 16:39:52 +00:00
get-pypi-pkg-version.py Fix sources-branch-updater and add docs 2018-01-17 13:39:29 +00:00
inventory-manage.py Run inventory-manage.py from the ansible-runtime venv 2018-05-15 06:43:50 +00:00
keepalived_haproxy_notifications.sh Remove snowflaked keepalived config 2017-05-24 15:35:05 +00:00
openstack-ansible.rc Increase Ansible SSH connection retries 2018-02-24 19:51:55 +00:00
os-cmd Fix os_cmd script for tty 2017-05-16 13:08:39 -05:00
pw-token-gen.py Skip host pip installs for ansible bootstrap 2018-04-05 09:51:27 +01:00
release-yaml-file-prep.py Fix sources-branch-updater and add docs 2018-01-17 13:39:29 +00:00
run-upgrade.sh Stop MariaDB nodes to reset quorum during upgrade 2018-10-17 21:36:49 -05:00
scripts-library.sh Isolate the Ansible bootstrap 2018-12-17 12:02:33 +00:00
sources-branch-updater-lib.sh Fix sources-branch-updater and add docs 2018-01-17 13:39:29 +00:00
sources-branch-updater.sh Fix sources-branch-updater and add docs 2018-01-17 13:39:29 +00:00
update-revision.sh Use root folder group_vars 2017-05-27 19:50:14 +00:00