Use python3 and modern ansible for launch node

Update the launch node readme and script to use python3 on the new
bridge node. There is no python2. Also update ansible to pull in
python3 support. The version we had been using wasn't python3 happy.

Change-Id: I6122160eb70eb6b5f299a8adb6478a9046ff1725
This commit is contained in:
Clark Boylan 2018-08-27 11:38:46 -07:00
parent 58b96d6703
commit 53e54af451
2 changed files with 3 additions and 3 deletions

View File

@ -16,9 +16,9 @@ Launching a node currently requires a different version of ansible
than what is generally used on the puppetmaster. Set up a
virtualenv::
virtualenv -p python2 ~/launch-env/
python3 /usr/lib/python3/dist-packages/virtualenv.py --python=python3 ~/launch-env
. ~/launch-env/bin/activate
pip install ansible==2.1.1.0 shade
pip install ansible shade
To launch a node in the OpenStack CI account (production servers)::

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Launch a new OpenStack project infrastructure node.