Merge "Use the Ansible runtime venv for pw-token-gen.py"

This commit is contained in:
Zuul 2018-08-16 05:04:22 +00:00 committed by Gerrit Code Review
commit ebbd1887e6

View File

@ -110,17 +110,8 @@
when:
- pre_config_osa | default(true) | bool
- name: Get pip2 and pw gen deps
shell: |
python2 /opt/get-pip.py
$(which pip2 || which pip) install setuptools pycrypto pyyaml
args:
chdir: /opt/openstack-ansible
when:
- pre_config_osa | default(true) | bool
- name: Create passwords
command: python2 ./scripts/pw-token-gen.py --file /etc/openstack_deploy/user_secrets.yml
command: ./scripts/pw-token-gen.py --file /etc/openstack_deploy/user_secrets.yml
args:
chdir: /opt/openstack-ansible
when: